package cn.pluss.platform.entity;

import  java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_pluss_real_fans")
public class RealFans {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "nickName",whereStrategy = FieldStrategy.NOT_EMPTY,condition = SqlCondition.LIKE)
    private String nickName;

    @TableField(value = "logo")
    private String logo;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "soleId",whereStrategy = FieldStrategy.NOT_EMPTY)
    private String soleId;

    @TableField(value = "aliConsum")
    private String aliConsum;

    @TableField(value = "wechatConsum")
    private String wechatConsum;

    @TableField(value = "enableMerchantCode",whereStrategy = FieldStrategy.NOT_EMPTY)
    private String enableMerchantCode;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date enableTime;

    @TableField(exist = false)
    private String alias;

    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;
}

