package cn.com.countrygarden.bi.main.model.experience;

import cn.com.countrygarden.bi.main.annotation.DescribeAnno;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wcx_employees_manage")
public class WcxEmployeesManage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Long id;

    @Column(name="created")
    private Date created;

    @Column(name="creater")
    private String creater;

    @Column(name="deleted")
    private Integer deleted;

    @Column(name="updated")
    private Date updated;

    @Column(name="updater")
    private String updater;

    @Column(name="version")
    private Long version;

    /**
     * 姓名
     */
    @Column(name="name")
    @Excel(name = "姓名", orderNum = "1")
    private String name;

    /**
     * 电话
     */
    @Column(name="phone")
    @Excel(name = "电话", orderNum = "2")
    private String phone;

    /**
     * 年龄
     */
    @Column(name="age")
    @Excel(name = "姓名", orderNum = "3")
    private String age;

    /**
     * 性别：F：女、M：男
     */
    @Column(name="sex")
    @Excel(name = "姓名", orderNum = "4")
    private String sex;

    /**
     * 身份证号
     */
    @Column(name="id_card")
    @Excel(name = "区域名", orderNum = "11")
    private String idCard;

    /**
     * 区域
     */
    @Column(name="organ_code")
    @Excel(name = "区域名", orderNum = "12")
    private String organCode;

    /**
     * 区域名称
     */
    @Column(name="organ_name")
    private String organName;

    /**
     * 项目
     */
    @Column(name="comm_id")
    @Excel(name = "项目", orderNum = "13")
    private Integer commId;

    /**
     * 项目
     */
    @Column(name="comm_name")
    private String commName;


    /**
     *总部/中心部门
     */
    @Column(name="dep_code")
    private String depCode;

    /**
     *总部/中心部门
     */
    @Column(name="dep_name")
    @Excel(name = "总部/中心部门", orderNum = "14")
    private String depName;


    /**
     *收楼时间
     */
    @Column(name="closing_time")
    private String closingTime;

    /**
     *客户标签
     */
    @Column(name="customer_tag")
    private String customerTag;

    /**
     *重点客户
     */
    @Column(name="key_note")
    private String keyNote;

    /**
     *入职时间
     */
    @Column(name="hiredate")
    @Excel(name = "入职时间", orderNum = "15")
    private String hiredate;

    /**
     *MPBS分类
     */
    @Column(name="mpbs")
    @Excel(name = "MPBS分类", orderNum = "16")
    private String mpbs;


    /**
     *职级
     */
    @Column(name="positions")
    @Excel(name = "职级", orderNum = "17")
    private String positions;

    /**
     *学历
     */
    @Column(name="education")
    @Excel(name = "学历", orderNum = "18")
    private String education;

    /**
     *婚姻状况:0:未婚、1：已婚
     */
    @Column(name="marriage")
    private String marriage;

    /**
     * 行业
     */
    @Column(name="industry")
    private String industry;


    /**
     * 职业
     */
    @Column(name="occupation")
    private String occupation;

    /**
     * 爱好
     */
    @Column(name="hobby")
    private String hobby;

    /**
     * 用户表示：0:员工、1：客户
     */
    @Column(name="identification")
    private String identification;

    /**
     * 账号有效性(0:启用、1：未启用)
     */
    @Column(name="effective")
    @DescribeAnno(value = {"0","1"},name = {"停用","启用"})
    @Excel(name = "姓名", orderNum = "19")
    private String effective;

    /**
     * 账号状态 0:未激活，1：激活
     */
    @Column(name="status")
    @DescribeAnno(value = {"0","1"},name = {"未激活","激活"})
    @Excel(name = "姓名", orderNum = "20")
    private String status;

    /**
     * 是否登录过
     */
    @Column(name="is_login")
    private String isLogin;

    /**
     * 最后一次登录时间
     */
    @Column(name="last_updated")
    private Date lastUpdated;

    @Column(name="account")
    @Excel(name = "姓名", orderNum = "5")
    private Integer account;

    @Column(name="is_focus_wx")
    @Excel(name = "姓名", orderNum = "6")
    @DescribeAnno(value = {"0","1"},name = {"是","否"})
    private Integer isFocusWx;

    @Column(name="opend_id")
    @Excel(name = "姓名", orderNum = "7")
    private String opendId;

    @Column(name="wx_name")
    @Excel(name = "姓名", orderNum = "8")
    private String  wxName;

    @Column(name="tyg_grade_id")
    @DescribeAnno(value = {"1","2","3"},name = {"普通","金牌","铂金"})
    @Excel(name = "体验官等级", orderNum = "9")
    private String tygGradeId;

    @Column(name="access_token")
    private String accessToken;

    @Column(name="tyg_certificate_number")
    @Excel(name = "体验官证书编号", orderNum = "10")
    private String tygCertificateNumber;

    @Column(name="head_imgurl")
    private String headImgurl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public Integer getCommId() {
        return commId;
    }

    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public String getDepCode() {
        return depCode;
    }

    public void setDepCode(String depCode) {
        this.depCode = depCode;
    }

    public String getClosingTime() {
        return closingTime;
    }

    public void setClosingTime(String closingTime) {
        this.closingTime = closingTime;
    }

    public String getCustomerTag() {
        return customerTag;
    }

    public void setCustomerTag(String customerTag) {
        this.customerTag = customerTag;
    }

    public String getKeyNote() {
        return keyNote;
    }

    public void setKeyNote(String keyNote) {
        this.keyNote = keyNote;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    public String getMpbs() {
        return mpbs;
    }

    public void setMpbs(String mpbs) {
        this.mpbs = mpbs;
    }

    public String getPositions() {
        return positions;
    }

    public void setPositions(String positions) {
        this.positions = positions;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public String getEffective() {
        return effective;
    }

    public void setEffective(String effective) {
        this.effective = effective;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(String isLogin) {
        this.isLogin = isLogin;
    }

    public Date getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(Date lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public Integer getAccount() {
        return account;
    }

    public void setAccount(Integer account) {
        this.account = account;
    }

    public Integer getIsFocusWx() {
        return isFocusWx;
    }

    public void setIsFocusWx(Integer isFocusWx) {
        this.isFocusWx = isFocusWx;
    }

    public String getOpendId() {
        return opendId;
    }

    public void setOpendId(String opendId) {
        this.opendId = opendId;
    }

    public String getWxName() {
        return wxName;
    }

    public void setWxName(String wxName) {
        this.wxName = wxName;
    }

    public String getTygGradeId() {
        return tygGradeId;
    }

    public void setTygGradeId(String tygGradeId) {
        this.tygGradeId = tygGradeId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getTygCertificateNumber() {
        return tygCertificateNumber;
    }

    public void setTygCertificateNumber(String tygCertificateNumber) {
        this.tygCertificateNumber = tygCertificateNumber;
    }

    public String getHeadImgurl() {
        return headImgurl;
    }

    public void setHeadImgurl(String headImgurl) {
        this.headImgurl = headImgurl;
    }
}
