Mail.php 826 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "mail".
  6. *
  7. * @property int $id
  8. * @property int $accident_id
  9. * @property string $title
  10. * @property string $content
  11. * @property int $start_time
  12. * @property int $update_time
  13. * @property int $status
  14. * @property string $receiver
  15. * @property string $receiver_name
  16. * @property string $sender
  17. * @property string $sender_name
  18. * @property string $case_type
  19. */
  20. class Mail extends \yii\db\ActiveRecord
  21. {
  22. /**
  23. * {@inheritdoc}
  24. */
  25. public static function tableName()
  26. {
  27. return 'mail';
  28. }
  29. /**
  30. * {@inheritdoc}
  31. */
  32. public function rules()
  33. {
  34. return [
  35. ];
  36. }
  37. /**
  38. * {@inheritdoc}
  39. */
  40. public function attributeLabels()
  41. {
  42. return [
  43. ];
  44. }
  45. }