package com.iformall.domain.po.msg;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.dto.WxCUserBasicInfoFilterListDto;
import com.iformall.domain.po.WxCouponInject;
import com.iformall.domain.po.WxMsgConfig;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.Date;
import java.util.List;

@TableName(value = "wx_msg")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxMsg extends BaseMsg{
    private static final long serialVersionUID = 1L;

    protected Long id;


    @io.swagger.annotations.ApiModelProperty(value = "租户ID", name = "tenantId")
    private String tenantId;
    @io.swagger.annotations.ApiModelProperty(value = "模板id", name = "modelId")
    private Long modelId;
    @io.swagger.annotations.ApiModelProperty(value = "内容", name = "msg")
    private String msg;
    @io.swagger.annotations.ApiModelProperty(value = "发送时间", name = "sendtime")
    private String sendtime;
    @io.swagger.annotations.ApiModelProperty(value = "发送时间", name = "createtime")
    private Date createtime;
    @io.swagger.annotations.ApiModelProperty(value = "预计发送数量", name = "expectSendNumber")
    private Integer expectSendNumber;
    @io.swagger.annotations.ApiModelProperty(value = "成功数量", name = "successNumber")
    private Integer successNumber;
    @io.swagger.annotations.ApiModelProperty(value = "错误数量", name = "errorNumber")
    private Integer errorNumber;
    @io.swagger.annotations.ApiModelProperty(value = "", name = "returnResult")
    private String returnResult;
    @io.swagger.annotations.ApiModelProperty(value = "", name = "phones")
    private String phones;
    @io.swagger.annotations.ApiModelProperty(value = "", name = "signature")
    private String signature;
    @io.swagger.annotations.ApiModelProperty(value = "", name = "isright")
    private Integer isright;
    @io.swagger.annotations.ApiModelProperty(value = "", name = "name")
    private String name;
    @io.swagger.annotations.ApiModelProperty(value = "发送状态0失败1成功", name = "sendstatus")
    private Integer sendstatus;

    @io.swagger.annotations.ApiModelProperty(value = "excelpath", name = "excelpath")
    private String excelpath;

    /*发送人群标签**/
    @io.swagger.annotations.ApiModelProperty(value="发送人群标签",name="tags")
    private String tags;

    @io.swagger.annotations.ApiModelProperty(value = "标签人群", name = "label")
    private String label;

    @io.swagger.annotations.ApiModelProperty(value = "状态0未发送 1已发送 2草稿箱", name = "status")
    private Integer status;

    @io.swagger.annotations.ApiModelProperty(value = "1标签短信2精准投放", name = "way")
    private Integer way;

    @io.swagger.annotations.ApiModelProperty(value = "couponInjectId", name = "couponInjectId")
    private Long couponInjectId;


    //用于mq发送消息
    private WxMsgConfig wxMsgConfig;
    //coupon精准投放
    private WxCouponInject couponInject;

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