package com.ruoyi.wgz.bo.req;

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;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("务工者APP-提交请假请求对象")
public class WgzAppSubmitLeaveReq implements Serializable {
	/** 请假类型（字典） */
	@Excel(name = "请假类型" , readConverterExp = "字=典")
	@ApiModelProperty("请假类型（字典）")
	private String leaveType;

	/** 开始时间 */
	@Excel(name = "开始时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("开始时间")
	private LocalDateTime startTime;

	/** 结束时间 */
	@Excel(name = "结束时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("结束时间")
	private LocalDateTime endTime;

	/** 请假事由 */
	@Excel(name = "请假事由")
	@ApiModelProperty("请假事由")
	private String reason;
}
