package org.stm.baosong.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

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


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

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

    @Excel(name = "itemid", width = 15)
    @ApiModelProperty(value = "itemid")
    private java.lang.Integer tplItemid;
}
