MerchantMember.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. namespace app\model\merchant;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $agent_id 代理
  7. * @property integer $store_id 门店
  8. * @property string $user_no
  9. * @property string $mobile
  10. * @property string $name
  11. * @property integer $sex
  12. * @property string $birthday
  13. * @property integer $source
  14. * @property integer $balance 余额
  15. * @property integer $total_balance 累计消费
  16. * @property string $address
  17. * @property string $remark
  18. * @property mixed $last_at 最后充值时间
  19. * @property string $create_ip
  20. * @property mixed $create_at
  21. */
  22. class MerchantMember extends Model
  23. {
  24. /**
  25. * The connection name for the model.
  26. *
  27. * @var string|null
  28. */
  29. protected $connection = 'mysql';
  30. /**
  31. * The table associated with the model.
  32. *
  33. * @var string
  34. */
  35. protected string $table = "merchant_member";
  36. /**
  37. * The primary key associated with the table.
  38. *
  39. * @var string
  40. */
  41. protected string $primaryKey = "id";
  42. /**
  43. * Indicates if the model should be timestamped.
  44. *
  45. * @var bool
  46. */
  47. public bool $timestamps = false;
  48. }