package com.fs.hisStore.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class FsCompanyUserListQueryVO implements Serializable
{

    /** 用户id */
    private Long userId;

    /** 用户账户(跟accout一样) */
    @Excel(name = "用户账户(跟accout一样)")
    private String username;

    /** 用户密码（跟pwd） */
    @Excel(name = "用户密码", readConverterExp = "跟=pwd")
    private String password;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 生日 */
    @Excel(name = "生日")
    private Long birthday;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCard;

    /** 用户备注 */
    @Excel(name = "用户备注")
    private String remark;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickname;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 最后一次登录ip */
    @Excel(name = "最后一次登录ip")
    private String lastIp;

    /** 用户余额 */
    @Excel(name = "用户余额")
    private BigDecimal nowMoney;

    /** 佣金金额 */
    @Excel(name = "佣金金额")
    private BigDecimal brokeragePrice;

    /** 用户剩余积分 */
    @Excel(name = "用户剩余积分")
    private BigDecimal integral;

    /** 连续签到天数 */
    @Excel(name = "连续签到天数")
    private Long signNum;

    /** 1为正常，0为禁止 */
    @Excel(name = "1为正常，0为禁止")
    private Integer status;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 推广上级用户ID */
    @Excel(name = "推广上级用户ID")
    private Long spreadUserId;

    /** 推广员关联时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推广员关联时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date spreadTime;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String userType;

    /** 是否为推广员 */
    @Excel(name = "是否为推广员")
    private Integer isPromoter;

    /** 用户购买次数 */
    @Excel(name = "用户购买次数")
    private Long payCount;

    /** 下级人数 */
    @Excel(name = "下级人数")
    private Long spreadCount;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addres;

    /** 微信用户json信息 */
    private String openId;

    /** $column.columnComment */
    @Excel(name = "微信用户json信息")
    private Integer isDel;

    private Integer isWeixinAuth;

    private Long companyId;

    private Long companyUserId;

    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerDate;
    private String registerCode;
    private String source;

    private String companyUserNickName;

}
