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

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.LocalDate;

/**
 * 加班申请状态日志表。
 */
@TableName("rdms_overtime_application_status_log")
@Data
@EqualsAndHashCode(callSuper = true)
public class OvertimeApplicationStatusLogDO extends BaseDO {

    @TableId
    private Long id;

    private Long applicationId;

    private String actionType;

    private String fromStatus;

    private String toStatus;

    private String reason;

    private Long operatorUserId;

    private String operatorName;

    private String applicantNameSnapshot;

    private LocalDate overtimeDateSnapshot;

    private String overtimeDurationSnapshot;

    private String remark;

}
