用户导入
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.annotation.Excel.Type;
|
||||
import com.ruoyi.common.base.BaseEntity;
|
||||
|
||||
/**
|
||||
@ -21,6 +22,7 @@ public class SysUser extends BaseEntity
|
||||
private Long userId;
|
||||
|
||||
/** 部门ID */
|
||||
@Excel(name = "部门编号", type = Type.IMPORT)
|
||||
private Long deptId;
|
||||
|
||||
/** 部门父ID */
|
||||
@ -63,15 +65,15 @@ public class SysUser extends BaseEntity
|
||||
private String delFlag;
|
||||
|
||||
/** 最后登陆IP */
|
||||
@Excel(name = "最后登陆IP")
|
||||
@Excel(name = "最后登陆IP", type = Type.EXPORT)
|
||||
private String loginIp;
|
||||
|
||||
/** 最后登陆时间 */
|
||||
@Excel(name = "最后登陆时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "最后登陆时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
|
||||
private Date loginDate;
|
||||
|
||||
/** 部门对象 */
|
||||
@Excel(name = "部门名称", targetAttr = "deptName")
|
||||
@Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT)
|
||||
private SysDept dept;
|
||||
|
||||
private List<SysRole> roles;
|
||||
|
Reference in New Issue
Block a user