package com.njcn.rdms.module.project.dal.dataobject.performance;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.rdms.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 员工绩效表。
 */
@TableName("rdms_performance_sheet")
@Data
@EqualsAndHashCode(callSuper = true)
public class PerformanceSheetDO extends BaseDO {

    @TableId
    private Long id;

    private String periodMonth;

    private Long employeeId;

    private String employeeName;

    private Long employeeDeptId;

    private String employeeDeptName;

    private String deptOrgType;

    private Long managerId;

    private String managerName;

    private Long templateId;

    private Long fileId;

    private String fileName;

    private Integer fileVersion;

    private String statusCode;

    private String signOffStatus;

    private BigDecimal actualScoreTotal;

    private BigDecimal baseScoreTotal;

    private BigDecimal extraScoreTotal;

    private LocalDateTime sentTime;

    private LocalDateTime confirmedTime;

    private LocalDateTime rejectedTime;

    private String lastStatusReason;
}
