| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- namespace app\model\system;
- use app\extra\basic\Model;
- /**
- * @property integer $id (主键)
- * @property integer $user_id
- * @property integer $role_id 权限ID
- * @property string $role_path
- * @property integer $parent_id 代理ID
- * @property integer $account_id 店铺id
- * @property string $username 用户名
- * @property string $truename 真实姓名
- * @property string $password 密码
- * @property mixed $salt 密钥串
- * @property integer $status 状态
- * @property string $contact_name
- * @property string $contact_mobile
- * @property integer $type 1管理员2代理子账号3店铺账号
- * @property integer $is_deleted 删除状态
- * @property integer $is_super
- * @property string $remark 备注
- * @property string $login_ip 登录IP
- * @property mixed $login_at 登录时间
- * @property integer $login_num
- * @property string $create_ip
- * @property mixed $updated_at 更新时间
- * @property mixed $create_at 创建时间
- */
- class SystemUser 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 = "system_user";
-
- /**
- * 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;
- }
|