package com.xinelu.manage.vo.wechattemplate;

import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import com.xinelu.common.custominterface.Insert;
import com.xinelu.common.custominterface.Update;
import com.xinelu.manage.domain.textmessagesuittask.TextMessageSuitTask;
import com.xinelu.manage.domain.wechattemplatesuittask.WechatTemplateSuitTask;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author : youxilong
 * @date : 2024/2/28 21:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "微信模板信息对象VO")
public class WechatTemplateVO extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 所属科室id
     */
    @ApiModelProperty(value = "所属科室id")
    @Excel(name = "所属科室id")
    private Long departmentId;

    /**
     * 所属科室名称
     */
    @ApiModelProperty(value = "所属科室名称")
    @Excel(name = "所属科室名称")
    private String departmentName;

    /**
     * 病种id
     */
    @ApiModelProperty(value = "病种id")
    @Excel(name = "病种id")
    private Long diseaseTypeId;

    /**
     * 病种名称
     */
    @ApiModelProperty(value = "病种名称")
    @Excel(name = "病种名称")
    private String diseaseTypeName;

    /**
     * 微信模板名称
     */
    @ApiModelProperty(value = "微信模板名称")
    @Excel(name = "微信模板名称")
    private String wechatTemplateName;

    /**
     * 模板ID
     */
    @ApiModelProperty(value = "模板ID")
    @Excel(name = "模板ID")
    private String templateId;

    /**
     * 模板内容
     */
    @ApiModelProperty(value = "模板内容")
    @Excel(name = "模板内容")
    private String templateContent;

    /**
     * 模板来源，小程序：WE_CHAT_APPLET，公众号：WE_CHAT_OFFICIAL_ACCOUNT
     */
    @ApiModelProperty(value = "模板来源，小程序：WE_CHAT_APPLET，公众号：WE_CHAT_OFFICIAL_ACCOUNT")
    @Excel(name = "模板来源，小程序：WE_CHAT_APPLET，公众号：WE_CHAT_OFFICIAL_ACCOUNT")
    private String templateSource;

    /**
     * 模板顺序
     */
    @ApiModelProperty(value = "模板顺序")
    @Excel(name = "模板顺序")
    private Integer templateSort;

    /**
     * 模板备注
     */
    @ApiModelProperty(value = "模板备注")
    @Excel(name = "模板备注")
    private String templateRemark;

    /**
     * 微信模板适用任务类型列表
     */
    @ApiModelProperty(value = "短信适用任务类型列表")
    private List<WechatTemplateSuitTask> suitTaskList;
}
