SaasAgent.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 mixed $vip_end VIP到期时间
  13. * @property string $shop_notice 公告
  14. * @property integer $is_deleted
  15. * @property integer $shop_status 1营业2休息
  16. * @property string $shop_contact 联系人
  17. * @property string $shop_mobile 联系电话
  18. * @property integer $user_card 充值套餐0默认1自定义
  19. * @property mixed $user_card_price 会员卡充值套餐自定义金额
  20. * @property integer $balance
  21. * @property integer $total_balance
  22. * @property float $cash_rate 提现费率
  23. * @property integer $status 0正常1到期2冻结
  24. * @property mixed $line_time 最后在线时间
  25. * @property mixed $create_at
  26. */
  27. class SaasAgent extends Model
  28. {
  29. /**
  30. * The connection name for the model.
  31. *
  32. * @var string|null
  33. */
  34. protected $connection = 'mysql';
  35. /**
  36. * The table associated with the model.
  37. *
  38. * @var string
  39. */
  40. protected string $table = "saas_agent";
  41. /**
  42. * The primary key associated with the table.
  43. *
  44. * @var string
  45. */
  46. protected string $primaryKey = "id";
  47. /**
  48. * Indicates if the model should be timestamped.
  49. *
  50. * @var bool
  51. */
  52. public bool $timestamps = false;
  53. }