package com.yeejoin.amos.boot.module.jcs.api.dto;

import java.util.Map;

import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 模板表
 *
 * @author tb
 * @date 2021-06-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TemplateDto", description = "模板表")
public class TemplateDto extends BaseDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模板类型code")
    private String typeCode;

    @ApiModelProperty(value = "模板类型")
    private String type;

    @ApiModelProperty(value = "模板内容")
    private String content;

    @ApiModelProperty(value = "格式(0--json      1: 富文本)")
    private Boolean format;
    
    @ApiModelProperty(value = "模板填充数据")
    private Map<String, Object> data;
    
    @ApiModelProperty(value = "操作人名称")
    private String recUserName;

}
