package com.matrix.system.hive.bean; import com.fasterxml.jackson.annotation.JsonFormat; import com.google.gson.annotations.Expose; import com.matrix.core.tools.DateUtil; import com.matrix.system.hive.plugin.util.ExcelAnnotation; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.util.List; @Data public class SysVipInfo implements Serializable { private static final long serialVersionUID = 1L; /** * 是销售员 */ public static final int IS_SALES = 1; /** * 不是销售员 */ public static final int NOT_SALES = 2; /** * 1、成交客户 * **/ public static final int DEAL_VIP = 1; /** * 2、非成交客户 * **/ public static final int UNDEAL_VIP = 2; /** * 会员助记码 */ private String zjm; /** * 序号 */ private Long id; /** * 会员编号 */ @ExcelAnnotation(checked=true) private String vipNo; /** * 会员姓名 */ @ExcelAnnotation(checked=true) private String vipName; /** * 手机号码 */ @ExcelAnnotation(checked=true) private String phone; /** * 线上会员(无卡会员),有卡会员 */ @ExcelAnnotation(checked=true) private String vipType; /** * 所属门店名称 */ @ExcelAnnotation(checked=true) private String shopName; /** * 1.正常会员(活跃、不活跃、休眠、死客),2.潜在(管理员进行分配跟踪),3.废弃(门店顾问申请分配跟踪) */ @ExcelAnnotation(checked=true) private String vipState; /** * 密码 */ private String passWord; /** * 最后操作人 */ private String beatuyId; /** * 性别 */ private String sex; /** * 生日 */ @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8") @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) private Date birthday1; private String age; /** * 地址 */ private String addr; /** * 星座 */ private String constell; /** * 生肖 */ private String animalSign; /** * 到店途径 */ private String arrivalWay; /** * 用户头像 */ private String photo; /** * 总积分 */ private Integer pointAll; /** * 总佣金 */ private Double commissionAll; /** * 入会时间 */ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) private Date inDate; /** * 注册时间 */ @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8") private Date createTime; /** * 备注 */ private String remark; /** * 顾问id */ private Long staffId; /** * 所属门店 */ private Long shopId; /** * 是否删除 Y是 N否 */ private String isDelete; /** * 邮箱 */ private String email; /** * 病史 */ private String disease; /** * 生日类型 1农历 2 阳历 */ private Integer birthdayType; /** * 是否为成交客户1,是,2不是 */ private Integer isDeal; /** * 公司id */ private Long companyId; /** * 省 */ private String province; /** * 市 */ private String city; /** * 区 */ private String area; /** * 推荐人 */ private Long recommendId; //血型 private String blood; //身份证 private String sfCard; //其他联系方式 private String link; //婚姻状态 private String marry; //职业 private String vocation; //数据迁移处理时间 private Date handleTime; private Long parentId; private Date createDistributionTime; private SysOrder sysOrder; /** * 可提现金额 */ private Double withdrawalCash; /** *推广员等级 */ private Long salesmanGrade; /** * 用户昵称 */ private String nickName; /** * 头像 */ private String avatarUrl; /** * 性别 1、男 2、女 0、未知 */ private Integer gender; /** * 用户所在国家 */ private String country; /** * 用户是否授权 1、是 2、否 */ private Integer userIsAuthorize; /** * 绑定上级用户时间 */ private Date bindingParentTime; /** * 是否是销售员(1=是,2=否) */ private Integer isSales; /** * 用户类型 1、待审核 2、审核通过 0、审核未通过 */ private Integer fenxiaoState; private String sessionKey; /** * 会员等级id */ private Long levelId; /** * 用户uuid */ private String uuid; /** * 用户余额 */ private Double balance; /** * 额外属性 */ /** * 会籍卡 */ private MoneyCardUse levelCard; /** * 会员等级 */ private SysVipLevel vipLevel; /** * 美容顾问名称 */ private String staffName; /** * 页面上的入会时间 */ private String inDateVo; /** * 页面上的生日 */ private String birthday1Vo; /** * 排名(会员消费统计报表使用) */ private Integer ranking; /** * 起始时间 */ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) private Date startTime; /** * 结束时间 */ @DateTimeFormat(pattern = DateUtil.DATE_FORMAT_DD) private Date endTime; /** * 排名方式(会员消费统计条件) */ private Integer rankType; /** * 年份(会员活跃度统计使用) */ private String year; /** * VIP新增人数 */ private Integer vipNum; /** * 起始时间 */ private String timeStart; /** * 结束时间 */ private String timeEnd; /** * 购买金额 */ private String payTotal; /** * 消耗金额 */ private Integer costTotal; /** * 消耗次数 */ private String costNum; private String openId; /** * 数据迁移状态 * 未处理 * 已处理 * 处理完成 */ private String statu; //美疗师设置 /** * 美疗师集合 */ @Expose(serialize = false) private List beauticains; /** * 会员问卷信息-答案,传递数据使用 */ @Expose(serialize = false) List vipAnswers; /** * 会员标签 */ @Expose(serialize = false) List labels; /** * 会员所有的充值卡 */ @Expose(serialize = false,deserialize = false) private List cards; /** * 今日签到标识 * 签到 true * 没签到false */ private boolean qdSign; private String name; }