1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "operational_adjustments".
- *
- * @property int $id
- * @property int|null $accident_id 案件ID
- * @property int|null $type_first
- * @property int|null $type_second
- * @property int|null $type_third
- * @property int|null $type_fourth
- * @property int|null $start_time 发生时间
- * @property int|null $is_important
- * @property string|null $important_content
- * @property string|null $content 内容
- * @property string|null $rules 规章
- * @property string|null $assess 评估
- * @property string|null $assess_two 评估
- * @property string $source_data 图片
- * @property int|null $delete_time 删除时间
- */
- class OperationalAdjustments extends \yii\db\ActiveRecord
- {
- public $dimension;
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'operational_adjustments';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- // [['accident_id', 'type', 'start_time'], 'integer'],
- // [['content'], 'string'],
- // [['image'], 'string', 'max' => 512],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'accident_id' => '案件ID',
- 'type' => '运营调整类型',
- 'start_time' => '发生时间',
- 'content' => '内容',
- 'assess' => '评估',
- 'image' => '图片',
- ];
- }
- }
|