FViolatingOrder.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?php
  2. namespace app\modules\car\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "{{%f_violating_order}}".
  6. *
  7. * @property int $id 序号
  8. * @property string|null $order_tag 工单大类
  9. * @property string|null $order_name 工单名称
  10. * @property string|null $job_type 专业类型
  11. * @property string|null $order_type 工单类型
  12. * @property string|null $car_num 车牌号
  13. * @property string|null $city 地市
  14. * @property string|null $sec_unit 二级单位
  15. * @property string|null $grid 网格
  16. * @property string|null $explan 指标解释
  17. * @property string|null $order_id 工单编号
  18. * @property string|null $warning_object 预警对象
  19. * @property string|null $trigger_mode 触发方式
  20. * @property string|null $warning_content 预警内容
  21. * @property int|null $is_backfill 是否回填
  22. * @property string|null $backfill_content 回填内容
  23. * @property string|null $backfill_attach 回填附件
  24. * @property string|null $backfill_t_limit 回填时限
  25. * @property string|null $backfill_std 回填提交标准
  26. * @property string $order_a_time 工单生效时间
  27. * @property string $order_c_time 创建时间
  28. * @property string|null $c_man 创建人
  29. * @property string|null $c_username 创建人用户名
  30. * @property string|null $c_num 创建人联系电话
  31. * @property string $up_time 更新时间
  32. * @property string|null $up_man 更新人
  33. * @property int|null $status 状态
  34. */
  35. class FViolatingOrder extends \app\common\models\EActiveRecord
  36. {
  37. /**
  38. * {@inheritdoc}
  39. */
  40. public static function tableName()
  41. {
  42. return '{{%f_violating_order}}';
  43. }
  44. /**
  45. * {@inheritdoc}
  46. */
  47. public function rules()
  48. {
  49. return [
  50. [['is_backfill', 'status'], 'integer'],
  51. [['order_a_time', 'order_c_time', 'up_time'], 'safe'],
  52. [['order_tag', 'order_name', 'job_type', 'order_type', 'car_num', 'city', 'sec_unit', 'grid', 'explan', 'order_id', 'warning_object', 'trigger_mode', 'warning_content', 'backfill_content', 'backfill_attach', 'backfill_t_limit', 'backfill_std', 'c_man', 'c_username', 'c_num', 'up_man'], 'string', 'max' => 255],
  53. ];
  54. }
  55. /**
  56. * {@inheritdoc}
  57. */
  58. public function attributeLabels()
  59. {
  60. return [
  61. 'id' => '序号',
  62. 'order_tag' => '工单大类',
  63. 'order_name' => '工单名称',
  64. 'job_type' => '专业类型',
  65. 'order_type' => '工单类型',
  66. 'car_num' => '车牌号',
  67. 'city' => '地市',
  68. 'sec_unit' => '二级单位',
  69. 'grid' => '网格',
  70. 'explan' => '指标解释',
  71. 'order_id' => '工单编号',
  72. 'warning_object' => '预警对象',
  73. 'trigger_mode' => '触发方式',
  74. 'warning_content' => '预警内容',
  75. 'is_backfill' => '是否回填',
  76. 'backfill_content' => '回填内容',
  77. 'backfill_attach' => '回填附件',
  78. 'backfill_t_limit' => '回填时限',
  79. 'backfill_std' => '回填提交标准',
  80. 'order_a_time' => '工单生效时间',
  81. 'order_c_time' => '创建时间',
  82. 'c_man' => '创建人',
  83. 'c_username' => '创建人用户名',
  84. 'c_num' => '创建人联系电话',
  85. 'up_time' => '更新时间',
  86. 'up_man' => '更新人',
  87. 'status' => '状态',
  88. ];
  89. }
  90. }