package com.diagbot.dto;

import com.diagbot.enums.StatusEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description:
 * @author: gaodm
 * @time: 2020/4/28 9:17
 */
@Getter
@Setter
public class SysUserQueryDTO {
    private Long userId;
    private String userName;
    private String linkman;
    private String deptName;
    private String roleName;
    private Integer status;
    private String statusName;


    public String getStatusName() {
        return StatusEnum.getName(this.status);
    }
}
