package cn.iocoder.yudao.module.hrm.dal.dataobject.attendance;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
/**
|
* 考勤异常申请 DO
|
*
|
* @author 芋道源码
|
*/
|
@TableName("hrm_attendance_exception")
|
@KeySequence("hrm_attendance_exception_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class HrmAttendanceExceptionDO extends BaseDO {
|
|
/**
|
* 申请ID
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 申请单号
|
*/
|
private String no;
|
|
/**
|
* 申请人ID(员工ID)
|
*
|
* 关联 HrmEmployeeDO#getId()
|
*/
|
private Long userId;
|
|
/**
|
* 部门ID
|
*/
|
private Long deptId;
|
|
/**
|
* 异常类型:1-补卡,2-加班,3-出差
|
*/
|
private Integer type;
|
|
/**
|
* 异常日期
|
*/
|
private LocalDate exceptionDate;
|
|
/**
|
* 异常时间点
|
*/
|
private LocalDateTime exceptionTime;
|
|
/**
|
* 申请原因
|
*/
|
private String reason;
|
|
/**
|
* 状态:0-草稿,10-审批中,20-通过,30-驳回,40-撤销
|
*/
|
private Integer status;
|
|
/**
|
* BPM流程实例ID
|
*/
|
private String processInstanceId;
|
|
/**
|
* 审批完成时间
|
*/
|
private LocalDateTime approveTime;
|
|
/**
|
* 附件地址
|
*/
|
private String fileUrl;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|