SaasShop.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. namespace app\model\saas;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $agent_id
  7. * @property string $shop_name
  8. * @property string $start_at
  9. * @property string $end_at 营业时间-结束
  10. * @property string $shop_address 地址
  11. * @property mixed $rule 收费规则
  12. * @property integer $rate_type
  13. * @property integer $rate_radio
  14. * @property integer $rate_money
  15. * @property mixed $vip_end VIP到期时间
  16. * @property string $shop_notice 公告
  17. * @property integer $is_deleted
  18. * @property integer $shop_status 1营业2休息
  19. * @property string $shop_contact 联系人
  20. * @property string $shop_mobile 联系电话
  21. * @property integer $user_card 充值套餐0默认1自定义
  22. * @property mixed $user_card_price 会员卡充值套餐自定义金额
  23. * @property integer $balance
  24. * @property integer $total_balance
  25. * @property float $cash_rate 提现费率
  26. * @property integer $status 0正常1到期2冻结
  27. * @property mixed $line_time 最后在线时间
  28. * @property mixed $create_at
  29. */
  30. class SaasShop extends Model
  31. {
  32. /**
  33. * The connection name for the model.
  34. *
  35. * @var string|null
  36. */
  37. protected $connection = 'mysql';
  38. /**
  39. * The table associated with the model.
  40. *
  41. * @var string
  42. */
  43. protected string $table = "saas_shop";
  44. /**
  45. * The primary key associated with the table.
  46. *
  47. * @var string
  48. */
  49. protected string $primaryKey = "id";
  50. /**
  51. * Indicates if the model should be timestamped.
  52. *
  53. * @var bool
  54. */
  55. public bool $timestamps = false;
  56. }