| | |
| | | package com.ruoyi.project.system.domain;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | | import javax.validation.constraints.*;
|
| | |
|
| | | import com.baomidou.mybatisplus.annotation.TableField;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | | import com.ruoyi.common.xss.Xss;
|
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import com.ruoyi.common.xss.Xss; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel.Type;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excels;
|
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | | import jakarta.validation.constraints.Email;
|
| | | import jakarta.validation.constraints.NotBlank;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | |
|
| | | import jakarta.validation.constraints.Size;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | /**
|
| | | * 用户对象 sys_user
|
| | |
| | | @Excel(name = "账号状态", readConverterExp = "0=正常,1=停用")
|
| | | private String status;
|
| | |
|
| | | /** 删除标志(0代表存在 2代表删除) */
|
| | | private String delFlag;
|
| | |
|
| | | /** 删除标志(0代表存在 2代表删除) */ |
| | | private String delFlag; |
| | | |
| | | /** 是否开通AI功能(0否 1是) */ |
| | | @JsonIgnore |
| | | private Integer aiEnabled; |
| | | |
| | | /** 最后登录IP */
|
| | | @Excel(name = "最后登录IP", type = Type.EXPORT)
|
| | | private String loginIp;
|
| | |
| | | this.status = status;
|
| | | }
|
| | |
|
| | | public String getDelFlag()
|
| | | {
|
| | | return delFlag;
|
| | | }
|
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | |
|
| | | public void setDelFlag(String delFlag)
|
| | | {
|
| | | this.delFlag = delFlag;
|
| | | }
|
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Integer getAiEnabled() |
| | | { |
| | | return aiEnabled; |
| | | } |
| | | |
| | | public void setAiEnabled(Integer aiEnabled) |
| | | { |
| | | this.aiEnabled = aiEnabled; |
| | | } |
| | |
|
| | | public String getLoginIp()
|
| | | {
|
| | |
| | | .append("sex", getSex())
|
| | | .append("avatar", getAvatar())
|
| | | .append("password", getPassword())
|
| | | .append("status", getStatus())
|
| | | .append("delFlag", getDelFlag())
|
| | | .append("loginIp", getLoginIp())
|
| | | .append("status", getStatus()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("aiEnabled", getAiEnabled()) |
| | | .append("loginIp", getLoginIp()) |
| | | .append("loginDate", getLoginDate())
|
| | | .append("createBy", getCreateBy())
|
| | | .append("createTime", getCreateTime())
|