1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?php
- namespace app\modules\car\models;
- use Yii;
- /**
- * This is the model class for table "{{%f_inefficient_order}}".
- *
- * @property int $id 序号
- * @property string|null $order_tag 工单大类
- * @property string|null $order_name 工单名称
- * @property string|null $job_type 专业类型
- * @property string|null $order_type 工单类型
- * @property string|null $car_num 车牌号
- * @property string|null $city 地市
- * @property string|null $sec_unit 二级单位
- * @property string|null $grid 网格
- * @property string|null $explan 指标解释
- * @property string|null $order_id 工单编号
- * @property string|null $warning_object 预警对象
- * @property string|null $trigger_mode 触发方式
- * @property string|null $warning_content 预警内容
- * @property int|null $is_backfill 是否回填
- * @property string|null $backfill_content 回填内容
- * @property string|null $backfill_attach 回填附件
- * @property string|null $backfill_t_limit 回填时限
- * @property string|null $backfill_std 回填提交标准
- * @property string $order_a_time 工单生效时间
- * @property string $order_c_time 创建时间
- * @property string|null $c_man 创建人
- * @property string|null $c_username 创建人用户名
- * @property string|null $c_num 创建人联系电话
- * @property string $up_time 更新时间
- * @property string|null $up_man 更新人
- * @property int|null $status 状态
- */
- class FInefficientOrder extends \app\common\models\EActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%f_inefficient_order}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['is_backfill', 'status'], 'integer'],
- [['order_a_time', 'order_c_time', 'up_time'], 'safe'],
- [['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],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => '序号',
- 'order_tag' => '工单大类',
- 'order_name' => '工单名称',
- 'job_type' => '专业类型',
- 'order_type' => '工单类型',
- 'car_num' => '车牌号',
- 'city' => '地市',
- 'sec_unit' => '二级单位',
- 'grid' => '网格',
- 'explan' => '指标解释',
- 'order_id' => '工单编号',
- 'warning_object' => '预警对象',
- 'trigger_mode' => '触发方式',
- 'warning_content' => '预警内容',
- 'is_backfill' => '是否回填',
- 'backfill_content' => '回填内容',
- 'backfill_attach' => '回填附件',
- 'backfill_t_limit' => '回填时限',
- 'backfill_std' => '回填提交标准',
- 'order_a_time' => '工单生效时间',
- 'order_c_time' => '创建时间',
- 'c_man' => '创建人',
- 'c_username' => '创建人用户名',
- 'c_num' => '创建人联系电话',
- 'up_time' => '更新时间',
- 'up_man' => '更新人',
- 'status' => '状态',
- ];
- }
- }
|