package org.jeecg.modules.stm.baosong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 报送数据校验
 * @Author: jeecg-boot
 * @Date:   2025-05-16
 * @Version: V1.0
 */
@Data
@TableName("baosong_data_valid")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class BaosongDataValid implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    private java.lang.Integer id;


    /**模板ID*/
    @Excel(name = "模板", width = 15)
    private Integer tplid;

	/**公式编号*/
	@Excel(name = "公式编号", width = 15)
    private java.lang.String code;
	/**名称*/
	@Excel(name = "名称", width = 15)
    private java.lang.String name;
	/**验证公式*/
	@Excel(name = "验证公式", width = 15)
    private java.lang.String formula;
	/**类型*/
	@Excel(name = "类型", width = 15)
    private java.lang.Integer ctp;
	/**分类
     * 1=表内校验
     * 2=标间校验
     * 3=自动计算
     * 4=不同年份校验
     * */
	@Excel(name = "分类", width = 15)
    private java.lang.Integer tp;
	/**预期值*/
	@Excel(name = "预期值", width = 15)
    private java.lang.String expectedValue;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date updateTime;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date createTime;
	/**参数*/
	@Excel(name = "参数", width = 15)
    private java.lang.String params;
	/**说明*/
	@Excel(name = "说明", width = 15)
    private java.lang.String des;
    @Excel(name = "itemid", width = 15)
    private java.lang.Integer tplItemid;
}
