<?php

namespace common\enums;

class LengthEnum
{
    const LENGTH_PLATE_NO = 8;
    const LENGTH_TITLE = 16;
    const LENGTH_SLOGAN = 30;
    const LENGTH_SIGNATURE = 32;
    const LENGTH_URL = 256;
    const LENGTH_CONTENT = 1000;


    public static $list = [
        self::LENGTH_TITLE => '标题长度',
        self::LENGTH_SLOGAN => '标语长度',
        self::LENGTH_SIGNATURE => '签名长度',
        self::LENGTH_CONTENT => '内容长度',
        self::LENGTH_URL => 'URL长度',
    ];

    public static $config = [
        'length_plate_no' => self::LENGTH_PLATE_NO,
        'length_title' => self::LENGTH_TITLE,
        'length_slogan' => self::LENGTH_SLOGAN,
        'length_signature' => self::LENGTH_SIGNATURE,
        'length_content' => self::LENGTH_CONTENT,
        'length_url' => self::LENGTH_URL,
    ];
}