EmergencyResponse.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "emergency_response".
  6. *
  7. * @property int $id
  8. * @property int|null $accident_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 string|null $content 内容
  15. * @property string|null $rules
  16. * @property string|null $assess
  17. * @property string|null $assess_two
  18. * @property string|null $source_data
  19. * @property string|null $delete_time
  20. */
  21. class EmergencyResponse extends \yii\db\ActiveRecord
  22. {
  23. public $dimension;
  24. /**
  25. * {@inheritdoc}
  26. */
  27. public static function tableName()
  28. {
  29. return 'emergency_response';
  30. }
  31. /**
  32. * {@inheritdoc}
  33. */
  34. public function rules()
  35. {
  36. return [
  37. ];
  38. }
  39. /**
  40. * {@inheritdoc}
  41. */
  42. public function attributeLabels()
  43. {
  44. return [
  45. 'id' => 'ID',
  46. 'accident_id' => 'Accident ID',
  47. 'type' => 'Type',
  48. 'start_time' => 'Start Time',
  49. 'content' => 'Content',
  50. 'image' => 'Image',
  51. ];
  52. }
  53. }