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

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
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.time.LocalDateTime;

/**
 * 绩效下签当前实例。
 */
@TableName("rdms_performance_sheet_sign_off")
@Data
@EqualsAndHashCode(callSuper = true)
public class PerformanceSheetSignOffDO extends BaseDO {

    @TableId
    private Long id;

    private Long performanceSheetId;

    private Long batchNo;

    private String statusCode;

    private Long issueUserId;

    private String issueUserName;

    private LocalDateTime issueTime;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Long confirmUserId;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String confirmUserName;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private LocalDateTime confirmTime;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String lastRejectReason;
}
