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.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 报送模板
 * @Author: jeecg-boot
 * @Date:   2024-12-14
 * @Version: V1.0
 */
@Data
@TableName("baosong_tpl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class BaosongTpl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)

    private java.lang.Integer id;
	/**编号*/
	@Excel(name = "编号", width = 15)

    private java.lang.String code;
	/**名称*/
	@Excel(name = "名称", width = 15)

    private java.lang.String nm;
	/**类型*/
	@Excel(name = "类型", width = 15)

    private java.lang.Integer tp;
	/**备注项目*/
	@Excel(name = "备注项目", width = 15)

    private java.lang.String des;

	/**报送方式*/
	@Excel(name = "报送方式", width = 15)

    private java.lang.Integer btp;

    /**创建时间*/
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private java.util.Date createdTime;
    /**更新时间*/
    @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private java.util.Date updatedTime;
    /**创建人*/
    @Excel(name = "创建人", width = 15)

    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    private java.lang.String createdUser;
    /**更新人*/
    @Excel(name = "更新人", width = 15)

    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    private java.lang.String updatedUser;

    /**生效年度*/
    @Excel(name = "完成时间", width = 15, format = "yyyy")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy")
    @DateTimeFormat(pattern="yyyy")

    private java.util.Date vyear;

	/**xmlfilePath*/
	@Excel(name = "xmlfilePath", width = 15)

    private java.lang.String xmlfilePath;
	/**版本*/
	@Excel(name = "版本", width = 15)

    private java.lang.String version;

    /**孩子数*/
    @Excel(name = "孩子数", width = 15)

    private java.lang.Integer childNum;
}
