/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.assessment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.security.ht.entity.common.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 考核评价明细表实体类
 *
 * @author BladeX
 * @since 2022-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_ASSESSMENT_DETAIL")
@ApiModel(value = "AssessmentDetail对象", description = "考核评价加分/扣分明细表")
public class AssessmentDetail extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	@TableId("ID")
	private String id;
	/**
	 * 考核评价记录关联id
	 */
	@ApiModelProperty(value = "考核评价记录关联id")
	@TableField("PARENT_ID")
	private String parentId;
	/**
	 * 类别
	 */
	@ApiModelProperty(value = "类别")
	@TableField("ASSESSMENT_TYPE")
	private String assessmentType;
	/**
	 * 加分/扣分项名称
	 */
	@ApiModelProperty(value = "名称")
	@TableField("ASSESSMENT_NAME")
	private String assessmentName;
	/**
	 * 依据
	 */
	@ApiModelProperty(value = "依据")
	@TableField("ASSESSMENT_RULE")
	private String assessmentRule;
	/**
	 * 分值
	 */
	@ApiModelProperty(value = "分值")
	@TableField("SCORE")
	private BigDecimal score;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("REMARKS")
	private String remarks;
	/**
	 * 逻辑删除标识符;0-正常，1-删除
	 */
	@ApiModelProperty(value = "逻辑删除标识符;0-正常，1-删除")
	@TableField("DEL_FLAG")
	private String delFlag;
	/**
	 * 类型 1-加分 2-扣分
	 */
	@ApiModelProperty(value = "类型 1-加分 2-扣分")
	@TableField("SCORE_TYPE")
	private String scoreType;
	/**
	 * 检查内容 针对扣分
	 */
	@ApiModelProperty(value = "检查内容")
	@TableField("INSPECTION_CONTENT")
	private String inspectionContent;
	/**
	 * 异常情况说明 针对扣分
	 */
	@ApiModelProperty(value = "异常情况说明")
	@TableField("PROBLEM")
	private String problem;
	/**
	 * 整改状态 针对扣分
	 */
	@ApiModelProperty(value = "整改状态")
	@TableField("RECTIFY_STATE")
	private String rectifyState;
}
