update 优化 删除SysUserBo内的不应该编辑的字段

2.X
疯狂的狮子Li 1 year ago
parent 77fe3545a2
commit 4c005fbd8b

@ -1,19 +1,17 @@
package org.dromara.system.domain.bo; package org.dromara.system.domain.bo;
import io.github.linpeilie.annotations.AutoMapper; import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import org.dromara.common.core.constant.UserConstants; import org.dromara.common.core.constant.UserConstants;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.xss.Xss; import org.dromara.common.core.xss.Xss;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysUser; import org.dromara.system.domain.SysUser;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import java.util.Date;
/** /**
* sys_user * sys_user
* *
@ -74,11 +72,6 @@ public class SysUserBo extends BaseEntity {
*/ */
private String sex; private String sex;
/**
*
*/
private Long avatar;
/** /**
* *
*/ */
@ -89,16 +82,6 @@ public class SysUserBo extends BaseEntity {
*/ */
private String status; private String status;
/**
* IP
*/
private String loginIp;
/**
*
*/
private Date loginDate;
/** /**
* *
*/ */

Loading…
Cancel
Save