package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonge.cooleshow.biz.dal.enums.im.EImReceiveType;
import com.yonge.cooleshow.biz.dal.enums.im.EImSendStatus;
import com.yonge.cooleshow.biz.dal.enums.im.EImSendType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 客服群发
 * 2022-12-09 10:49:10
 */
@Data
@ApiModel(" CustomerServiceBatchSending-客服群发")
@TableName("customer_service_batch_sending")
public class CustomerServiceBatchSending implements Serializable {

    @ApiModelProperty("主键ID") 
    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("目标群体") 
	@TableField(value = "target_group_")
    private String targetGroup;

    @ApiModelProperty("发送声部") 
	@TableField(value = "send_subject_")
    private String sendSubject;

    @ApiModelProperty("发送人数")
    @TableField(value = "send_number_")
    private Integer sendNumber;

    @ApiModelProperty("接收人数") 
	@TableField(value = "receive_number_")
    private Integer receiveNumber;

    @ApiModelProperty("目标人群") 
	@TableField(value = "receive_type_")
    private EImReceiveType receiveType;

    @ApiModelProperty("发送方式") 
	@TableField(value = "send_type_")
    private EImSendType sendType;

    @ApiModelProperty("发送状态") 
	@TableField(value = "send_status_")
    private EImSendStatus sendStatus;

    @ApiModelProperty("是否发送")
    @TableField(value = "send_flag_")
    private Boolean sendFlag;

    @ApiModelProperty("发送时间") 
	@TableField(value = "send_time_")
    private Date sendTime;


    @ApiModelProperty("发送完成时间")
    @TableField(value = "send_end_time_")
    private Date sendEndTime;

    @ApiModelProperty("发送条件")
    @TableField(value = "condition_")
    private String condition;

    @ApiModelProperty("消息标题") 
	@TableField(value = "title_")
    private String title;

    @ApiModelProperty("文本消息") 
	@TableField(value = "text_message_")
    private String textMessage;

    @ApiModelProperty("图片消息") 
	@TableField(value = "img_message_")
    private String imgMessage;

    @ApiModelProperty("图片地址") 
	@TableField(value = "img_url_")
    private String imgUrl;

    @ApiModelProperty("客户ID")
    @TableField(value = "sender_id_")
    private Long senderId;

    @ApiModelProperty("创建用户") 
	@TableField(value = "create_by_")
    private Long createBy;

    @ApiModelProperty("创建时间") 
	@TableField(value = "create_time_")
    private Date createTime;

}