BlueTask.php 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace app\model\blue;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $category_id
  7. * @property string $title
  8. * @property mixed $banner
  9. * @property integer $need_num 招募名额
  10. * @property integer $user_num 报名人数
  11. * @property integer $sale_price 产品售价
  12. * @property integer $req_user_level
  13. * @property integer $req_dy_level
  14. */
  15. class BlueTask extends Model
  16. {
  17. /**
  18. * The connection name for the model.
  19. *
  20. * @var string|null
  21. */
  22. protected $connection = 'mysql';
  23. /**
  24. * The table associated with the model.
  25. *
  26. * @var string
  27. */
  28. protected string $table = "blue_task";
  29. /**
  30. * The primary key associated with the table.
  31. *
  32. * @var string
  33. */
  34. protected string $primaryKey = "id";
  35. /**
  36. * Indicates if the model should be timestamped.
  37. *
  38. * @var bool
  39. */
  40. public bool $timestamps = false;
  41. }