OperationalAdjustments.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "operational_adjustments".
  6. *
  7. * @property int $id
  8. * @property int|null $accident_id 案件ID
  9. * @property int|null $type_first
  10. * @property int|null $type_second
  11. * @property int|null $type_third
  12. * @property int|null $type_fourth
  13. * @property int|null $start_time 发生时间
  14. * @property int|null $is_important
  15. * @property string|null $important_content
  16. * @property string|null $content 内容
  17. * @property string|null $rules 规章
  18. * @property string|null $assess 评估
  19. * @property string|null $assess_two 评估
  20. * @property string $source_data 图片
  21. * @property int|null $delete_time 删除时间
  22. */
  23. class OperationalAdjustments extends \yii\db\ActiveRecord
  24. {
  25. public $dimension;
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public static function tableName()
  30. {
  31. return 'operational_adjustments';
  32. }
  33. /**
  34. * {@inheritdoc}
  35. */
  36. public function rules()
  37. {
  38. return [
  39. // [['accident_id', 'type', 'start_time'], 'integer'],
  40. // [['content'], 'string'],
  41. // [['image'], 'string', 'max' => 512],
  42. ];
  43. }
  44. /**
  45. * {@inheritdoc}
  46. */
  47. public function attributeLabels()
  48. {
  49. return [
  50. 'id' => 'ID',
  51. 'accident_id' => '案件ID',
  52. 'type' => '运营调整类型',
  53. 'start_time' => '发生时间',
  54. 'content' => '内容',
  55. 'assess' => '评估',
  56. 'image' => '图片',
  57. ];
  58. }
  59. }