package com.storlead.message.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息模板
 * </p>
 *
 * @author chenkq
 * @since 2024-04-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("message_template_event_detail")
@ApiModel(value="MessageTemplateEventDetailEntity对象", description="消息模板")
public class MessageTemplateEventDetailEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "模板id")
    private Long templateEventId;

    @ApiModelProperty(value = "模板图标")
    private String templateIcon;

    @ApiModelProperty(value = "模板标签")
    private String templateTag;

    @ApiModelProperty(value = "模板code")
    private String templateEventName;

    @ApiModelProperty(value = "site:站内,sms:短信,wecom:企业微信,mail:邮件")
    private String templateDetailType;

    @ApiModelProperty(value = "msg：消息，card：卡片 ：默认：card")
    private String templateMessageView;

    @ApiModelProperty(value = "消息标题")
    private String messageTitle;

    @ApiModelProperty(value = "模板标题")
    private String messageCentent;

    @ApiModelProperty(value = "回调地址")
    private String callbackUrl;
}
