/*
 *    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.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

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

/**
 * 户截止日配置表
 *
 * @author fxj
 * @date 2025-12-11 14:19:54
 */
@Data
@Schema(description = "户截止日配置表")
public class THouseHoldLimitExportVo implements Serializable {

	/**
	 * 户名
	 */
	@ExcelAttribute(name = "户名")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(10)
	@ExcelProperty("户名")
	@Schema(description = "户名")
	private String name;
	/**
	 * 户类型：0社保 1公积金
	 */
	@ExcelAttribute(name = "户类型", isDataId = true,readConverterExp = "0=社保,1=公积金")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(10)
	@ExcelProperty("户类型")
	@Schema(description = "户类型")
	private String type;
	/**
	 * 缴纳地
	 */
	@ExcelAttribute(name = "缴纳地")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(10)
	@ExcelProperty("缴纳地")
	@Schema(description = "缴纳地")
	private String province;
	/**
	 * 派增截止(日)
	 */
	@ExcelAttribute(name = "派增截止(日)")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(15)
	@ExcelProperty("派增截止(日)")
	@Schema(description = "派增截止(日)")
	private String deadLineDay;
	/**
	 * 派增办理规则：0当月办当月生效 1 当月办次月生效
	 */
	@ExcelAttribute(name = "派增办理规则", isDataId = true,readConverterExp = "0=当月办当月生效,1=当月办次月生效")
	@ExcelProperty("派增办理规则")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(15)
	@Schema(description = "派增办理规则")
	private String addHandleRule;
	/**
	 * 创建者-姓名
	 */
	@Schema(description = "配置人")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(10)
	@ExcelProperty("配置人")
	private String createName;

	/**
	 * 更新时间
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	@HeadFontStyle(fontHeightInPoints = 11)
	@ColumnWidth(20)
	@ExcelProperty("最后一次更新时间")
	@Schema(description = "最后一次更新时间")
	private LocalDateTime updateTime;

}
