Good.php 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 $pay_price 支付金额
  9. * @property integer $bonus 分红金额
  10. * @property integer $stock_rights 股权数量
  11. * @property integer $unit_price 股权单价
  12. * @property integer $sort 排序
  13. * @property integer $state 状态 0禁用1正常
  14. * @property integer $total_num 总数
  15. * @property integer $num 剩余数量
  16. * @property integer $type 产品类型
  17. */
  18. class Good extends Base
  19. {
  20. /**
  21. * The table associated with the model.
  22. *
  23. * @var string
  24. */
  25. protected $table = 'wa_goods';
  26. /**
  27. * The primary key associated with the table.
  28. *
  29. * @var string
  30. */
  31. protected $primaryKey = 'id';
  32. /**
  33. * Indicates if the model should be timestamped.
  34. *
  35. * @var bool
  36. */
  37. public $timestamps = false;
  38. }