package org.dromara.web.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.web.domain.ConsultantResultTemplate;

/**
 * 会诊结果模板业务对象 consultant_result_template
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ConsultantResultTemplate.class, reverseConvertGenerate = false)
public class ConsultantResultTemplateBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 模板名称
     */
    @NotBlank(message = "模板名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String templateName;

    /**
     * 模板类型id
     */
    @NotNull(message = "模板类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long templateTypeId;

    /**
     * 描述
     */
    private String description;

    /**
     * 正文
     */
    private String content;

    private String contentStr;

    private Long updateDept;


}
