| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- namespace app\model\saas;
- use app\extra\basic\Model;
- /**
- * @property integer $id (主键)
- * @property integer $agent_id
- * @property string $shop_name
- * @property string $start_at
- * @property string $end_at 营业时间-结束
- * @property string $shop_address 地址
- * @property mixed $rule 收费规则
- * @property mixed $vip_end VIP到期时间
- * @property string $shop_notice 公告
- * @property integer $is_deleted
- * @property integer $shop_status 1营业2休息
- * @property string $shop_contact 联系人
- * @property string $shop_mobile 联系电话
- * @property integer $user_card 充值套餐0默认1自定义
- * @property mixed $user_card_price 会员卡充值套餐自定义金额
- * @property integer $balance
- * @property integer $total_balance
- * @property float $cash_rate 提现费率
- * @property integer $status 0正常1到期2冻结
- * @property mixed $line_time 最后在线时间
- * @property mixed $create_at
- */
- class SaasAgent extends Model
- {
- /**
- * The connection name for the model.
- *
- * @var string|null
- */
- protected $connection = 'mysql';
-
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected string $table = "saas_agent";
-
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected string $primaryKey = "id";
-
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public bool $timestamps = false;
- }
|