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

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 瓜子特殊字典导出Vo
 *
 * @author hgw
 * @date 2026-02-05 14:16:10
 */
@Data
@ColumnWidth(25)
public class TGzAreaExportVo {


	/**
	 * 皖信地址编码
	 */
	@ExcelAttribute(name = "皖信地址编码", isNotEmpty = true, errorInfo = "皖信地址编码不能为空", maxLength = 11)
	@NotBlank(message = "皖信地址编码不能为空")
	@Length(max = 11, message = "皖信地址编码不能超过11个字符")
	@ExcelProperty("皖信地址编码")
	@Schema(description = "皖信地址编码")
	private String areaCode;
	/**
	 * 皖信地址
	 */
	@ExcelAttribute(name = "皖信地址", maxLength = 50)
	@Length(max = 50, message = "皖信地址不能超过50个字符")
	@ExcelProperty("皖信地址")
	@Schema(description = "皖信地址")
	private String areaName;
	/**
	 * 瓜子地址编码
	 */
	@ExcelAttribute(name = "瓜子地址编码", isNotEmpty = true, errorInfo = "瓜子地址编码不能为空", maxLength = 11)
	@NotBlank(message = "瓜子地址编码不能为空")
	@Length(max = 11, message = "瓜子地址编码不能超过11个字符")
	@ExcelProperty("瓜子地址编码")
	@Schema(description = "瓜子地址编码")
	private String gzCode;
	/**
	 * 瓜子城市名称
	 */
	@ExcelAttribute(name = "瓜子城市名称", maxLength = 50)
	@Length(max = 50, message = "瓜子城市名称不能超过50个字符")
	@ExcelProperty("瓜子城市名称")
	@Schema(description = "瓜子城市名称")
	private String gzName;

}
