OrderOperation.php 731 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class OrderOperation extends Model
  5. {
  6. protected $table = "order_operation"; //指定表
  7. const CREATED_AT = 'crt_time';
  8. const UPDATED_AT = 'upd_time';
  9. protected $dateFormat = 'U';
  10. //审批操作对应的数值
  11. const one = 1;
  12. const two = 2;
  13. const three = 3;
  14. const four = 4;
  15. const five = 5;
  16. const six = 6;
  17. const seven = 7;
  18. const eight = 8;
  19. const nine = 9;
  20. public static $type = [
  21. 1 => '指派销售',
  22. 2 => '指派分社',
  23. 3 => '合同确认',
  24. 4 => '合同弃审',
  25. 5 => '合同公司完结',
  26. 6 => '合同客户完结',
  27. 7 => '收付款',
  28. ];
  29. }