package com.iformall.domain.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class CUserBaseInfoT implements Serializable {

    @Excel(name="姓名",width = 20,orderNum = "1")
    @io.swagger.annotations.ApiModelProperty(value="用户姓名",name="name")
    private String name;
    @Excel(name="性别",width = 20,replace = { "保密_0", "男_1","女_2"},orderNum = "2")
    @io.swagger.annotations.ApiModelProperty(value="性别：0：保密 1.男 2女",name="sex")
    private Integer sex;
    @Excel(name = "手机号*", width = 20, orderNum = "3")
    @io.swagger.annotations.ApiModelProperty(value="微信用户绑定的手机号",name="phone")
    @NotNull
    @Pattern(regexp = "1[0123456789]\\d{9}", message = "手机号不正确")
    private String phone;
    @Excel(name="微信昵称",width = 20,orderNum = "4")
    @io.swagger.annotations.ApiModelProperty(value="用户昵称",name="nickName")
    private String nickName;
    @Excel(name="学历",width = 20,orderNum = "5")
    @io.swagger.annotations.ApiModelProperty(value="学历",name="education")
    private String education;
    @Excel(name="生日",width = 20,orderNum = "6")
    @io.swagger.annotations.ApiModelProperty(value="出生日期",name="birthdate")
    private String birthdate;
    @Excel(name = "积分", width = 20, orderNum = "12")
    @io.swagger.annotations.ApiModelProperty(value="积分",name="credit")
    private String credit;
    @Excel(name = "地址", width = 20, orderNum = "7")
    @io.swagger.annotations.ApiModelProperty(value="地址",name="address")
    private String address;

    @Excel(name = "上次活跃时间", width = 20, orderNum = "8")
    @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
    private String updateDate;

    @Excel(name = "注册时间", width = 20, orderNum = "9")
    @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
    private String createDate;

    @TableField(exist = false)
    @Excel(name = "标签", width = 20, orderNum = "10")
    private String tagNames;

    @TableField(exist = false)
    @Excel(name = "成长值", width = 20, orderNum = "11")
    private String poins;
}
