Checkpoints.php 849 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace app\models\entity;
  3. use Yii;
  4. /**
  5. * This is the model class for table "checkpoints".
  6. *
  7. * @property int $id
  8. * @property int $priority
  9. * @property int $type
  10. * @property int $parent_task_id
  11. */
  12. class Checkpoints extends \yii\db\ActiveRecord
  13. {
  14. /**
  15. * {@inheritdoc}
  16. */
  17. public static function tableName()
  18. {
  19. return 'checkpoints';
  20. }
  21. /**
  22. * {@inheritdoc}
  23. */
  24. public function rules()
  25. {
  26. return [
  27. [['priority', 'type', 'parent_task_id'], 'integer'],
  28. ];
  29. }
  30. /**
  31. * {@inheritdoc}
  32. */
  33. public function attributeLabels()
  34. {
  35. return [
  36. 'id' => 'ID',
  37. 'priority' => 'Priority',
  38. 'type' => 'Type',
  39. 'parent_task_id' => 'Parent Task ID',
  40. ];
  41. }
  42. }