package com.ruoyi.wgz.bo.res;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("请假-历史请假列表返回对象")
public class WgzAppLeaveHistoryListPageRes implements Serializable {
	@TableId(value = "id")
	private Long id;

	@ApiModelProperty("项目ID")
	private Long recruitId;

	@ApiModelProperty("招工主题")
	private String subject;

	@ApiModelProperty("请假类型（字典）")
	private String leaveType;

	@ApiModelProperty("开始时间")
	private LocalDateTime startTime;

	@ApiModelProperty("结束时间")
	private LocalDateTime endTime;

	@ApiModelProperty("请假事由")
	private String reason;

	@ApiModelProperty("审核人ID")
	private Long auditorUserId;

	@ApiModelProperty("审核人头像")
	private String auditorHead;

	@ApiModelProperty("审核人名称")
	private String auditorname;

	@ApiModelProperty("审核状态（0待审核 1审核中 2已同意 3已拒绝 4已取消）")
	private String auditorType;

	@ApiModelProperty("审核意见")
	private String auditorOpinion;

	@ApiModelProperty("同意|拒绝时间")
	private LocalDateTime auditorTime;

	@ApiModelProperty("上班时间")
	private LocalTime workingTime;

	@ApiModelProperty("下班时间")
	private LocalTime closingTime;

	@ApiModelProperty("取消请假")
	private LocalDateTime cancelLeave;

	@ApiModelProperty("创建者")
	private String createBy;

	@ApiModelProperty("请假时间")
	private LocalDateTime createTime;

	@ApiModelProperty("更新者")
	private String updateBy;

	@ApiModelProperty("更新时间")
	private LocalDateTime updateTime;
}
