package com.crm.rely.backend.model.dto.user.info;

import lombok.Data;

import java.util.Date;

/**
 * @program: crm-backend
 * @description:
 * @author: houn
 * @create: 2019-07-30 18:06
 */
@Data
public class UserInfoSearchDto {

    private Long id;

    private String username;

    private String name;

    private String email;

    private Long roleId;

    private Long departmentId;

    private String roleName;

    private Long pid;

    private String ibNo;

    private Integer valid;

    private Date lastTime;

    private String lastIp;

    private String lastAddress;

    /**
     * 是否ip限制 0否 1是
     */
    private Integer ipLimit;
    /**
     * 限制ip 如果不为空和null 则只有这个ip才能登录
     */
    private String limitIp;

    private Date addTime;

}
