sys_user添加app_user_id,好区分用户对照
This commit is contained in:
@@ -3,6 +3,8 @@ package com.ruoyi.common.core.domain.entity;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
@@ -73,6 +75,9 @@ public class SysUser extends BaseEntity
|
||||
@Excel(name = "身份证/信用代码")
|
||||
private String idCard;
|
||||
|
||||
@ApiModelProperty("移动端用户id")
|
||||
private Long appUserId;
|
||||
|
||||
/** 部门对象 */
|
||||
@Excels({
|
||||
@Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT),
|
||||
@@ -308,6 +313,14 @@ public class SysUser extends BaseEntity
|
||||
this.idCard = idCard;
|
||||
}
|
||||
|
||||
public Long getAppUserId() {
|
||||
return appUserId;
|
||||
}
|
||||
|
||||
public void setAppUserId(Long appUserId) {
|
||||
this.appUserId = appUserId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
@@ -331,6 +344,7 @@ public class SysUser extends BaseEntity
|
||||
.append("remark", getRemark())
|
||||
.append("dept", getDept())
|
||||
.append("idCard", getIdCard())
|
||||
.append("appUserId", getAppUserId())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user