FreightFee.php 755 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Model;
  3. class FreightFee extends UseScopeBaseModel
  4. {
  5. protected $table = "freight_fee"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const businessTypeNormal = 65;
  10. const businessTypeReturn = 66;
  11. const deliveryModeNormal = 70519;
  12. const deliveryModeRightNow = 70536;
  13. public static $delivery = [
  14. self::deliveryModeNormal => '纯自提',
  15. self::deliveryModeRightNow => '当日达',
  16. ];
  17. public static $business = [
  18. self::businessTypeNormal => '普通销售',
  19. self::businessTypeReturn => '销售退货',
  20. ];
  21. const employee_column = 'employee_id_1';
  22. public static $field = ['order_time','id'];
  23. }