/*
 *    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.yifu.social.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 户截止日配置表
 *
 * @author fxj
 * @date 2025-12-11 14:19:54
 */
@Data
public class THouseHoldLimitVo extends RowIndex implements Serializable {

	/**
	 * 户名
	 */
	@ExcelAttribute(name = "户名",isNotEmpty = true, maxLength = 50)
	@Schema(description = "户名")
	@ExcelProperty("户名")
	private String name;
	/**
	 * 户类型：0社保 1公积金
	 */
	@ExcelAttribute(name = "户类型", isNotEmpty = true, errorInfo = "户类型不能为空", isDataId = true,readConverterExp = "0=社保,1=公积金")
	@Schema(description = "户类型：0社保 1公积金")
	@ExcelProperty("户类型")
	private String type;

	/**
	 * 派增截止(日)
	 */
	@ExcelAttribute(name = "派增截止(日)",isInteger = true, isNotEmpty = true, errorInfo = "派增截止(日)不能为空", maxLength = 2)
	@Schema(description = "派增截止(日)")
	@ExcelProperty("派增截止(日)")
	private String deadLineDay;
	/**
	 * 派增办理规则：0当月办当月生效 1 当月办次月生效
	 */
	@ExcelAttribute(name = "派增办理规则", isNotEmpty = true, errorInfo = "派增办理规则不能为空", isDataId = true,readConverterExp = "0=当月办当月生效,1=当月办次月生效")
	@Schema(description = "派增办理规则：0当月办当月生效 1 当月办次月生效")
	@ExcelProperty("派增办理规则")
	private String addHandleRule;

}
