You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
package com.kiisoo.ic.employee.entity;
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @Description: 员工对象
|
|
|
|
|
|
* @Auther: yechenhao
|
|
|
|
|
|
* @Date: 2020/4/7 0002 10:06
|
|
|
|
|
|
* @Version: v1
|
|
|
|
|
|
*/
|
|
|
|
|
|
@TableName("privilage_cp_user")
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public class PrivilageCpUserDO {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 主键id
|
|
|
|
|
|
*/
|
|
|
|
|
|
@TableId(type = IdType.AUTO)
|
|
|
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 企业微信账号(userId)
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String cpUserId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 姓名
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 别名
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String alias;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* '性别。1表示男性,2表示女性
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Integer gender;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 邮箱。长度6~64个字节,且为有效的email格式。企业内必须唯一,mobile/email二者不能同时为空
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String email;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 地址
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String address;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 职务信息。长度为0~128个字符
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String position;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 手机号(唯一)
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String mobile;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 成员状态
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Integer status;
|
|
|
|
|
|
}
|