12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace App\Model;
- class OutBoundOrder extends UseScopeBaseModel
- {
- protected $table = "out_bound_order"; //指定表
- 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;//已确认
- const prefix = 'CK';
- public static $name = [
- self::State_minus_one => '已驳回',
- self::STATE_ZERO => '待创建人确认',
- self::STATE_ONE => '待审批人审核',
- self::STATE_TWO => '审核通过',
- ];
- const range_function = '';
- const is_check_function = '';
- public static $wait_check = [
- self::STATE_ZERO,
- self::STATE_ONE
- ];
- const out_type_one = 1;
- const out_type_two = 2;
- public static $out_type = [
- self::out_type_one,
- self::out_type_two
- ];
- public static $out_type_name = [
- self::out_type_one => '合同',
- self::out_type_two => '',
- ];
- }
|