12345678910111213141516171819202122232425262728 |
- <?php
- namespace App\Model;
- class FreightFee extends UseScopeBaseModel
- {
- protected $table = "freight_fee"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const businessTypeNormal = 65;
- const businessTypeReturn = 66;
- const deliveryModeNormal = 70519;
- const deliveryModeRightNow = 70536;
- public static $delivery = [
- self::deliveryModeNormal => '纯自提',
- self::deliveryModeRightNow => '当日达',
- ];
- public static $business = [
- self::businessTypeNormal => '普通销售',
- self::businessTypeReturn => '销售退货',
- ];
- const employee_column = 'employee_id_1';
- public static $field = ['order_time','id'];
- }
|