package com.qingyun.service.domain.vo;

import com.qingyun.service.domain.ContractRuleTemplate;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;


import java.io.Serializable;
import java.util.Date;

/**
 * 规则要素模板视图对象 contract_rule_template
 *
 * @author jianlu
 * @date 2025-07-11
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@AutoMapper(target = ContractRuleTemplate.class)
public class ContractRuleTemplateVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 模板ID
     */
    @ExcelProperty(value = "模板ID")
    private Long id;

    /**
     * 模板名称
     */
    @ExcelProperty(value = "模板名称")
    private String templateName;

    /**
     * 审查规则JSON
     */
    @ExcelProperty(value = "审查规则JSON")
    private String reviewRuleJson;

    /**
     * 审查要素JSON
     */
    @ExcelProperty(value = "审查要素JSON")
    private String reviewElementJson;

    /**
     * 原始文件地址
     */
    @ExcelProperty(value = "原始文件地址")
    private String originalFileUrl;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String creator;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 状态 0 启用 1 停用
     */
    private Integer status;
}
