| 1234567891011121314151617181920212223242526272829303132 | 
							- <?php
 
- namespace App\Model;
 
- class SportsBag extends UseScopeBaseModel
 
- {
 
-     protected $table = "sports_bag"; //指定表
 
-     const CREATED_AT = 'crt_time';
 
-     const UPDATED_AT = 'upd_time';
 
-     protected $dateFormat = 'U';
 
-     const range_function = 'sportsBagRange';
 
-     const is_check_function = 'sportsBagCheck';
 
-     const prefix = 'HD';
 
-     const State_minus_one = -1;//驳回
 
-     const STATE_ZERO = 0;//未审核
 
-     const STATE_ONE = 1;//待审核
 
-     const STATE_TWO = 2;//已审核
 
-     public static $name = [
 
-         self::State_minus_one => '驳回',
 
-         self::STATE_ZERO => '未审核',
 
-         self::STATE_ONE => '待审核',
 
-         self::STATE_TWO => '已审核'
 
-     ];
 
-     const type_one = 1;
 
-     const type_two = 2;
 
-     public static $attribute_name = [
 
-         self::type_one => '销售属性',
 
-         self::type_two => '采购属性',
 
-     ];
 
- }
 
 
  |