1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace App\Model;
- class SalesOrderReport extends UseScopeBaseModel
- {
- protected $table = "sales_order_report"; //指定表
- const CREATED_AT = null;
- const UPDATED_AT = null;
- protected $dateFormat = 'U';
- const type_one = 1;
- const type_two = 2;
- const type_three = 3;
- const type_four = 4;
- const type_five = 5;
- public static $all_list = [
- self::type_one => '门店零售',
- self::type_two => '私域营销',
- self::type_three => '线上销售',
- self::type_four => '门店业绩',
- self::type_five => '客资业绩',
- ];
- const state_zero = 0;
- const state_one = 1;
- const state_two = 2;
- const state_three = 3;
- const state_four = 4;
- public static $all_state_list = [
- self::state_zero => '全部',
- self::state_one => '已审核',
- self::state_two => '施工中',
- self::state_three => '施工完结',
- self::state_four => '已交车',
- ];
- }
|