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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;
import java.util.List;

/**
 * @Description: 任务分配
 * @Author: jeecg-boot
 * @Date:   2024-12-17
 * @Version: V1.0
 */
@Data
@TableName("baosong_task_alloc")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class BaosongTaskAlloc implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    
    private java.lang.Integer id;
	/**任务ID*/
	@Excel(name = "任务ID", width = 15)
    
    @Dict(dictTable = "baosong_task", dicCode = "id", dicText = "name")
    private java.lang.Integer taskid;
	/**模板ID*/
	@Excel(name = "模板ID", width = 15)
    
    @Dict(dictTable = "baosong_tpl", dicCode = "id", dicText = "nm")
    private java.lang.Integer tplid;
	/**模板项ID*/
	@Excel(name = "模板项ID", width = 15)
    
    @Dict(dictTable = "baosong_tpl_item", dicCode = "id", dicText = "title")
    private java.lang.Integer itemid;
	/**填报人*/
	@Excel(name = "填报人", width = 15)
    
    @Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
    private java.lang.String fillUser;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    
    private java.util.Date createTime;

    /**填报状态*/
    
    private java.lang.Boolean fillSta;


    /**创建人*/
    private java.lang.String createBy;

    @TableField(exist = false)
    private List<Integer> itemids;
}
