ReminderRecord.php 931 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Model;
  3. class ReminderRecord extends UseScopeBaseModel
  4. {
  5. protected $table = "reminder_record"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const employee_column = "crt_id";
  10. public static $field = ['reminder_id','id','tl_type','tl_result','tl_ways','crt_time'];
  11. const tl_type_one = 1;
  12. const tl_type_two = 2;
  13. public static $tl_type_name = [
  14. self::tl_type_one => '基础应答',
  15. self::tl_type_two => '升级应答',
  16. ];
  17. const tl_way_one = 1;
  18. const tl_way_two = 2;
  19. public static $tl_way_name = [
  20. self::tl_way_one => '一次性交付',
  21. self::tl_way_two => '分批交付',
  22. ];
  23. const tl_result_one = 1;
  24. const tl_result_two = 2;
  25. public static $tl_result_name = [
  26. self::tl_result_one => '同意',
  27. self::tl_result_two => '不同意',
  28. ];
  29. }