package com.ruoyi.system.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

/**
 * 停泊点配置(BerthingPoint)实体类
 *
 * @author makejava
 * @since 2024-04-10 15:29:55
 */
@Data
public class BerthingPointDTO implements Serializable {

    /**
     * 站点ID
     */
    @NotNull(message = "站点ID不能为空")
    private Long siteId;
    /**
     * 断面名称
     */
    @NotBlank(message = "断面名称不能为空")
    private String berthingName;
    /**
     * 断面点位json list字符串 例子：[{“x”:54.3,"y":44.2}]
     */
    @NotEmpty(message = "断面点位不能为空")
    private ArrayList<PrintExcelDTO> positions;


}

