DataAssessmentSocreMaster.java 3.4 KB
package com.skua.modules.assessment.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.modules.flow.core.entity.FlowEntity;

import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 绩效考核评分基础信息
 */
@Data
@TableName("data_assessment_socre_master")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="data_assessment_socre_master对象", description="绩效考核评分基础信息")
public class DataAssessmentSocreMaster extends FlowEntity{

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属厂区*/
	@Excel(name = "所属厂区", width = 15)
	@ApiModelProperty(value = "所属厂区")
	@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
	private String departId;
	/**考核配置表id*/
	@Excel(name = "考核配置表id", width = 15)
    @ApiModelProperty(value = "考核配置表id")
	private String reportId;
	/**考核时间*/
	@Excel(name = "考核时间", width = 15)
    @ApiModelProperty(value = "考核时间")
	private String assessmentDate;
	/**被考核人*/
	@Excel(name = "被考核人", width = 15)
    @ApiModelProperty(value = "被考核人")
	private String assessmentUser;
	/**被考核人部门*/
	@Excel(name = "被考核人部门", width = 15)
    @ApiModelProperty(value = "被考核人部门")
	private String assessmentDepart;
	@ApiModelProperty(value = "被考核人岗位")
	private String assessmentPositions;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@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 Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@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 Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
	private String createDept;
	/**流程定义id*/
	@Excel(name = "流程定义id", width = 15)
    @ApiModelProperty(value = "流程定义id")
	private String processDefinitionId;
	/**流程实例id*/
	@Excel(name = "流程实例id", width = 15)
    @ApiModelProperty(value = "流程实例id")
	private String processInstanceId;

	@ApiModelProperty(value = "考核总分")
	private String assessmentScore;

	@ApiModelProperty(value = "自我评分")
	private String selfScore;
	@ApiModelProperty(value = "领导评分")
	private String leaderScore;
	@ApiModelProperty(value = "考核类型")
	private String reportType;
}