package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.dto.WxCUserBasicInfoFilterListDto;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@TableName(value = "wx_coupon_inject")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxCouponInject extends BaseEntity {

	protected Long id;

	@TableField(exist = false)
	protected List<Long> ids;

	@TableField(exist = false)
	protected WxMsgModel msgModel;

	@TableField(exist = false)
	protected Date sendTimeStart;

	@TableField(exist = false)
	protected Date sendTimeEnd;


	@io.swagger.annotations.ApiModelProperty(value="",name="tenantId")
	private String tenantId;
	@io.swagger.annotations.ApiModelProperty(value="任务名称",name="name")
	private String name;
	@io.swagger.annotations.ApiModelProperty(value="",name="mUserId")
	private Long mUserId;
	@io.swagger.annotations.ApiModelProperty(value="发送方式0：立即发送 1:定时发送",name="sendType")
	private Integer sendType;
	@io.swagger.annotations.ApiModelProperty(value="券id",name="couponId")
	private Long couponId;
	@io.swagger.annotations.ApiModelProperty(value="券名称",name="couponName")
	private String couponName;
	@io.swagger.annotations.ApiModelProperty(value="发送时间",name="sendTime")
	private Date sendTime;
	@io.swagger.annotations.ApiModelProperty(value="实际发送数量",name="sendAmount")
	private Integer sendAmount;
	@io.swagger.annotations.ApiModelProperty(value="0:待发送1:发送中2:已发送3:发送失败4已作废",name="status")
	private Integer status;
	@io.swagger.annotations.ApiModelProperty(value="发送失败原因",name="errorMsg")
	private String errorMsg;
	@io.swagger.annotations.ApiModelProperty(value="发送人群标签",name="tags")
	private String tags;

	@io.swagger.annotations.ApiModelProperty(value="",name="modelId")
	private Long modelId;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createTime")
	private Date createTime;
	@io.swagger.annotations.ApiModelProperty(value="修改时间",name="updateTime")
	private Date updateTime;

	@io.swagger.annotations.ApiModelProperty(value="短信id",name="msgId")
	private Long msgId;

	@TableField(exist = false)
	List<WxCUserBasicInfoFilterListDto> filterList;

	@TableField(exist = false)
	protected String phones;

}
