package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@TableName(value = "wx_coupon_present")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxCouponPresent extends BaseEntity {

    protected Long id;

    @ApiModelProperty(value = "租户ID", name = "tenantId")
    private String tenantId;
    @ApiModelProperty(value = "用户ID", name = "userId")
    private Long userId;
    @ApiModelProperty(value = "卡券ID", name = "couponId")
    private Long couponId;
    @ApiModelProperty(value = "卡券名称", name = "couponName")
    private String couponName;
    @ApiModelProperty(value = "手机", name = "phones")
    private String phones;
    @ApiModelProperty(value = "创建时间", name = "createDate")
    private Date createTime;
    @ApiModelProperty(value = "更新时间", name = "updateDate")
    private Date updateTime;
    @ApiModelProperty(value = "发送数量", name = "sendAmount")
    private Integer sendAmount;

    @TableField(exist = false)
    protected Date sendTimeStart;

    @TableField(exist = false)
    protected Date sendTimeEnd;

}
