package com.ruoyi.account.api.model;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/12/2 9:18
|
*/
|
@Data
|
@TableName("t_app_user_shop")
|
public class AppUserShop {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("app_user_id")
|
private Long appUserId;
|
/**
|
* 门店id
|
*/
|
@TableField("shop_id")
|
private Integer shopId;
|
/**
|
* 角色(1=店长,2=店员,3=技师)
|
*/
|
@TableField("role_type")
|
private Integer roleType;
|
}
|