package com.skr.mdm.bean.vo.equipment;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.pojo.vo.equipment
 * @ClassName: OALeaveVO
 * @Author: Tty
 * @Description: OA-请假
 * @Date: 2021/6/9 10:24
 * @Version: 1.0
 */
@Data
@ApiModel("OA-请假查询对象")
public class ClientOaLeaveVO implements Serializable {

	private static final long serialVersionUID = 594035997586704415L;
	@ApiModelProperty("主键id")
	private Integer id;

	@ApiModelProperty("请假流程状态 0:无 1:待审核 2:休假中 3:已完成 4:已驳回 5:已销假 6：审核通过")
	private Integer state;

	@ApiModelProperty("删除状态 0:未删除 1:已删除")
	private Integer isDelete;

	@ApiModelProperty("请假类型 0:无 1: 事假  2:病假 3: 年假 4:产假 5:产检假 6:陪产假: 7:其他")
	private Integer leaveType;

	@ApiModelProperty("请假开始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date startTime;

	@ApiModelProperty("请假结束时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date endTime;

	@ApiModelProperty("事由")
	private String note;

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

	@ApiModelProperty("提交时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date createTime;

}
