| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace App\Model;
- class CustomerSupply extends UseScopeBaseModel
- {
- protected $guarded = [];
- protected $table = "customer_supply"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- const employee_column = "crt_id";
- public static $field = ['title','id','code','type','crt_time','account','crt_id','status','password'];
- protected $dateFormat = 'U';
- const status_one = 1;
- const status_two = 2;
- const status_three = 3;
- const status_four = 4;
- const status_five = 5;
- public static $status_name = [
- self::status_one => '拿下',
- self::status_two => '接洽',
- self::status_three => '风险',
- self::status_four => '核心',
- self::status_five => '放弃',
- ];
- const type_one = 1;
- const type_two = 2;
- public static $type_name = [
- self::type_one => '客户',
- self::type_two => '供应商',
- ];
- }
|