package com.hotent.baseInfo.req;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hotent.base.entity.BaseModel;
import com.hotent.baseInfo.model.CostDocumentTemplateFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 监审文书模板表
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-09-17
 */

@Getter
@Setter
@ApiModel(value="CostDocumentTemplate对象", description="监审文书模板表")
public class CostDocumentTemplateReq extends BaseModel<CostDocumentTemplateReq> {


    @ApiModelProperty(value = "主键ID")

    private Long id;
    
    @ApiModelProperty(value = "监审文书名称")
    private String documentName;
    
    @ApiModelProperty(value = "别名",required = true)
    private String alias;
    
    @ApiModelProperty(value = "类型（通用版/太原定制等）",required = true)
    private String type;

    @ApiModelProperty(value = "上传文件路径")
    private String fileUrl;


    @ApiModelProperty(value = "数据来源类型database_table-数据库表, sql-SQL",required = true)
    private String dataSourceType;
    
    @ApiModelProperty(value = "版本明细")
    private String versionDetails;
    
    @ApiModelProperty(value = "说明")
    private String description;
    
    @ApiModelProperty(value = "启用状态：1启用 0停用",required = true)
    private String status;
    
    @ApiModelProperty(value = "逻辑删除：0正常 1已删除")
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新时间")

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;
    
    @ApiModelProperty(value = "数据来源表id")
    private Long tableId;

    @ApiModelProperty(value = "是否文号 0是 1否",required = true)
    private String isWh;


    @ApiModelProperty(value = "数据库表")
    private String surveyTemplateName;

    @ApiModelProperty(value = "文件内容")
    private List<CostDocumentTemplateFile> costDocumentTemplateFiles;


    @ApiModelProperty(value = "文书类型")
    private String documentType;

    @ApiModelProperty(value = "文书类型名称")
    private String documentTypeName;




}
