package com.ruoyi.management.api.model;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ruoyi.common.core.annotation.Excel;
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 门店-用户关联对象 t_company_shop_to_user
|
*
|
* @author xiaochen
|
* @date 2023-06-07
|
*/
|
@TableName("t_company_shop_to_user")
|
@ApiModel(value="t_company_shop_to_user对象", description="门店-用户关联对象")
|
public class TCompanyShopToUser
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** $column.columnComment */
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/** 门店id */
|
@Excel(name = "门店id")
|
private Integer shopId;
|
|
/** 用户id */
|
@Excel(name = "用户id")
|
private Integer userId;
|
|
public void setId(Integer id)
|
{
|
this.id = id;
|
}
|
|
public Integer getId()
|
{
|
return id;
|
}
|
public void setShopId(Integer shopId)
|
{
|
this.shopId = shopId;
|
}
|
|
public Integer getShopId()
|
{
|
return shopId;
|
}
|
public void setUserId(Integer userId)
|
{
|
this.userId = userId;
|
}
|
|
public Integer getUserId()
|
{
|
return userId;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("shopId", getShopId())
|
.append("userId", getUserId())
|
.toString();
|
}
|
}
|