| | |
| | | package com.xinquan.system.api.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.xinquan.common.core.annotation.Excel; |
| | | import com.xinquan.common.core.annotation.Excel.ColumnType; |
| | | import com.xinquan.common.core.annotation.Excel.Type; |
| | |
| | | import javax.validation.constraints.Email; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Size; |
| | | |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @Data |
| | | public class SysUser extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | private Long userId; |
| | | |
| | | /** 部门ID */ |
| | | @Excel(name = "部门编号", type = Type.IMPORT) |
| | | @Excel(name = "部门id", type = Type.IMPORT) |
| | | @TableField("dept_id") |
| | | private Long deptId; |
| | | |
| | | /** 用户账号 */ |
| | | @Excel(name = "登录名称") |
| | | @Excel(name = "登录名称/登录账号") |
| | | @TableField("user_name") |
| | | private String userName; |
| | | |
| | |
| | | |
| | | /** 角色ID */ |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "角色ids 逗号拼接") |
| | | private Long roleId; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | |
| | | |
| | | @ApiModelProperty(value = "用户类型 00:管理后台用户 01:APP用户") |
| | | private String userType; |
| | | @ApiModelProperty(value = "禁用原因") |
| | | @TableField("reason") |
| | | private String reason; |
| | | @ApiModelProperty(value = "禁用时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime disableTime; |
| | | |
| | | public String getUserType() { |
| | | return userType; |