jiangqs
2023-05-19 1d2139950d2ef8867c39fa8c8e9af8db178eaa27
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/poji/sys/SysUser.java
@@ -3,6 +3,9 @@
import java.util.Date;
import java.util.List;
import javax.validation.constraints.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
@@ -15,7 +18,7 @@
/**
 * 用户对象 sys_user
 * 
 * @author ruoyi
 * @author jqs
 */
public class SysUser extends BaseEntity
{
@@ -23,11 +26,16 @@
    /** 用户ID */
    @Excel(name = "用户序号", cellType = ColumnType.NUMERIC, prompt = "用户编号")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;
    /** 部门ID */
    @Excel(name = "部门编号", type = Type.IMPORT)
    private Long deptId;
    /** 用户账号 */
    @Excel(name = "用户类型", readConverterExp = "00系统用户,01B端商户成员,03C端用户")
    private String userType;
    /** 用户账号 */
    @Excel(name = "登录名称")
@@ -296,6 +304,15 @@
    {
        this.roleId = roleId;
    }
    public String getUserType() {
        return userType;
    }
    public void setUserType(String userType) {
        this.userType = userType;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -318,6 +335,7 @@
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("dept", getDept())
            .append("userType", getUserType())
            .toString();
    }
}