| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace app\model\merchant;
- use app\extra\basic\Model;
- /**
- * @property integer $id (主键)
- * @property integer $agent_id 代理
- * @property integer $store_id 门店
- * @property string $user_no
- * @property string $mobile
- * @property string $name
- * @property integer $sex
- * @property string $birthday
- * @property integer $source
- * @property integer $balance 余额
- * @property integer $total_balance 累计消费
- * @property string $address
- * @property string $remark
- * @property mixed $last_at 最后充值时间
- * @property string $create_ip
- * @property mixed $create_at
- */
- class MerchantMember 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 = "merchant_member";
-
- /**
- * 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;
- }
|