package cn.common.resp;

import cn.common.common.validation.NotEmpty;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.*;

/**
 * 网格信息数据导出请求封装类
 * @title: GridUnitExportResp.java
 * @author create by Singer - Singer email:singer-coder@qq.com
 * @date
*/
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class GridUnitExportResp implements Serializable {

    private static final long serialVersionUID = 4270581832472465892L;

    /**
     * 网格名称
     */
    @NotEmpty(message = "网格名称->不可为空")
    @ExcelProperty(value = "网格名称")
    private String unitName;

    /**
     * 网格描述
     */
    @NotEmpty(message = "网格描述->不可为空")
    @ExcelProperty(value = "网格描述")
    private String unitDescription;

}
