package cn.common.req;

import cn.common.common.validation.NotEmpty;
import lombok.Data;
import java.time.LocalDateTime;
import java.io.*;

/**
 * 网格信息新增Req
 * @title: GridUnitAddReq.java
 * @author create by Singer - Singer email:singer-coder@qq.com
 * @date 2019/4/24 11:13
 */
@Data
public class GridUnitAddReq implements Serializable {

    private static final long serialVersionUID = -2718370901688755895L;

    /**
     * 主键ID->ID
     */
    private Long id;

    /**
     * 业务主键ID->"gridUnitId"
     */
    private String gridUnitId;

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

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

}
