Raffle.php 720 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace plugin\admin\app\model;
  3. use plugin\admin\app\model\Base;
  4. /**
  5. * @property integer $id (主键)
  6. * @property string $name 标题
  7. * @property string $img 图片
  8. * @property integer $money 奖励
  9. * @property integer $sort 排序
  10. * @property integer $status 状态 0 禁用 1正常
  11. */
  12. class Raffle extends Base
  13. {
  14. /**
  15. * The table associated with the model.
  16. *
  17. * @var string
  18. */
  19. protected $table = 'wa_raffle';
  20. /**
  21. * The primary key associated with the table.
  22. *
  23. * @var string
  24. */
  25. protected $primaryKey = 'id';
  26. /**
  27. * Indicates if the model should be timestamped.
  28. *
  29. * @var bool
  30. */
  31. public $timestamps = false;
  32. }