| 1234567891011121314151617181920212223 | <?phpnamespace App\Model;class KqOvertime extends UseScopeBaseModel{    protected $table = "kq_overtime"; //指定表    const CREATED_AT = 'crt_time';    const UPDATED_AT = 'upd_time';    protected $dateFormat = 'U';    const State_minus_one = -1;//驳回    const STATE_ZERO = 0;//未审核    const STATE_ONE = 1;//待审核    const STATE_TWO = 2;//审核通过    public static $prefix = 'overtime';    public static $name = [        self::State_minus_one => '驳回',        self::STATE_ZERO => '未审核',        self::STATE_ONE => '待审核',        self::STATE_TWO => '审核通过'    ];}
 |