package org.stm.rate.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:   2023-09-26
 * @Version: V1.0
 */
@Data
@TableName("rate_taskdetail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rate_taskdetail对象", description="评估表填报")
public class RateTaskdetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**年度*/
	@Excel(name = "年度", width = 15)
    @ApiModelProperty(value = "年度")
    private java.lang.String taskYear;
	/**评估表名称*/
	@Excel(name = "评估表名称", width = 15)
    @ApiModelProperty(value = "评估表名称")
    private java.lang.String taskName;
	/**评估规则*/
	@Excel(name = "评估规则", width = 15)
    @ApiModelProperty(value = "评估规则")
    private java.lang.String ruleId;
	/**评估人*/
	@Excel(name = "评估人", width = 15)
    @ApiModelProperty(value = "评估人")
    private java.lang.String rateUser;
	/**评估部门*/
	@Excel(name = "评估部门", width = 15)
    @ApiModelProperty(value = "评估部门")
    private java.lang.String rateDept;
	/**填报截至日期*/
	@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")
    @ApiModelProperty(value = "填报截至日期")
    private java.util.Date taskEndtime;
	/**备注说明*/
	@Excel(name = "备注说明", width = 15)
    @ApiModelProperty(value = "备注说明")
    private java.lang.String remark;
	/**是否审批*/
	@Excel(name = "是否审批", width = 15, dicCode = "rate_approve")
	@Dict(dicCode = "rate_approve")
    @ApiModelProperty(value = "是否审批")
    private java.lang.String rateApprove;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "rate_taskStatus")
	@Dict(dicCode = "rate_taskStatus")
    @ApiModelProperty(value = "状态")
    private java.lang.String rateTaskstatus;
	/**责任人*/
	@Excel(name = "责任人", width = 15)
    @ApiModelProperty(value = "责任人")
    private java.lang.String dutyUser;


    /**
     * 负责部门
     */
    @Excel(name="责任部门",width = 15,dictTable ="sys_depart",dicText = "depart_name",dicCode = "org_code")
    @ApiModelProperty(value = "责任部门")
    @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "org_code")
    private String dutyDept;

    /**任务id*/
    @Excel(name = "任务id", width = 15)
    @ApiModelProperty(value = "任务id")
    private java.lang.String rateTaskId;
    /**审核人*/
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private java.lang.String approveuser;
    /**分配方式*/
    @Excel(name = "分配方式", width = 15)
    @ApiModelProperty(value = "分配方式")
    private java.lang.String distflag;
}
