/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the yifu4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.yifu.cloud.plus.v1.csp.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yifu.cloud.plus.v1.csp.entity.EmployeeRegistrationLeave;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 自动化离职待办
 *
 * @author hgw
 * @date 2025-11-19 19:23:15
 */
@Data
public class EmployeeRegistrationLeaveSearchVo extends EmployeeRegistrationLeave {

	/**
	 * 多选导出或删除等操作
	 */
	@Schema(description = "选中ID,多个逗号分割")
	private String ids;

	/**
	 * 创建时间区间 [开始时间，结束时间]
	 */
	@Schema(description = "创建时间区间")
	private LocalDateTime[] createTimes;

	//开始时间（查询专用）
	@Schema(description =  "入离职开始时间")
	@TableField(exist = false)
	private LocalDateTime joinTimeStart;

	//截止时间（查询专用）
	@Schema(description =  "入离职截止时间")
	@TableField(exist = false)
	private LocalDateTime joinTimeEnd;

	@Schema(description = "身份证合集")
	@TableField(exist = false)
	private List<String> idcardList;

	private List<String> idList;

	// 0待确认1待处理2处理中3已处理
	@Schema(description = "离职处理状态多个")
	@TableField(exist = false)
	private String[] processStatusArray;

	@Schema(description = "是否批量发起派单，若为1，则过滤6大事项的状态，其他传空")
	@TableField(exist = false)
	private String isDispatch;

	/**
	 * @Author fxj
	 * 查询数据起
	 **/
	@Schema(description = "查询limit  开始")
	private int limitStart;
	/**
	 * @Author fxj
	 * 查询数据止
	 **/
	@Schema(description = "查询limit  数据条数")
	private int limitEnd;

	@Schema(description =  "列表查询类型 1 待办 2监控 3入职确认信息")
	private String type;

	@Schema(description =  "项目权限数组")
	@TableField(exist = false)
	private List<String> deptNoList;

	@ExcelProperty("项目名称")
	private String deptName;

	@ExcelProperty("项目编码")
	private String deptNo;

	@ExcelProperty("员工姓名")
	private String employeeName;

	@ExcelProperty("身份证号")
	private String empIdcard;

	@ExcelProperty("离职日期")
	private String joinLeaveDate;

}
