package com.crm.rely.backend.model.pojo.view;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import java.util.Date;

/**
 * @program: crm-backend
 * @description:
 * @author: houn
 * @create: 2019-07-25 16:22
 */
@Data
public class UserInfoView extends BaseTable {

    private String name;

    private String email;

    private String phone;

    private String firstName;

    private String username;

    private String middle;

    private String lastName;

    private String country;

    private Long roleId;

    private String roleName;

    private String roleCode;

    private String pIbNo;

    private Long pid;

    private Long cId;

    private Long customId;

    private String ibNo;

    private Integer valid;

    private Date addTime;

    private String lastIp;

    private Long departmentId;

    private String departmentName;
    /**
     * 用户组ID
     */
    private Long groupId;

    private String groupName;
    private String groupEnName;
    /**
     * 销售ID
     */
    private Long salesId;

    /**
     * 销售编号
     */
    private String salesNo;

    /**
     * 内部数据权限代码
     */
    private String stamp;

    private String pStamp;

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

}
