Phase.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace app\models\entity;
  3. use Yii;
  4. /**
  5. * @property int id
  6. * @property int task_id
  7. * @property int phase_number
  8. * @property int message
  9. * @property int x
  10. * @property int y
  11. * @property int z
  12. */
  13. class phase extends \yii\db\ActiveRecord
  14. {
  15. /**
  16. * {@inheritdoc}
  17. */
  18. public static function tableName()
  19. {
  20. return 'phase';
  21. }
  22. /**
  23. * {@inheritdoc}
  24. */
  25. public function rules()
  26. {
  27. return [
  28. //[['name', 'uuid'], 'required'],
  29. //[['name', 'uuid'], 'string', 'max' => 255],
  30. ];
  31. }
  32. /**
  33. * {@inheritdoc}
  34. */
  35. public function attributeLabels()
  36. {
  37. return [
  38. 'id' => 'ID',
  39. 'task_id' => 'Ид команды',
  40. 'phase_number' => 'Номер этапа',
  41. 'message' => 'Сообщение',
  42. 'x' => 'Координата x',
  43. 'y' => 'Координата y',
  44. 'z' => 'Координата z',
  45. ];
  46. }
  47. }