package cn.qinys.platform.mobile.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class TreeCreateReq implements Serializable {

    @NotBlank(message = "名称不能为空")
    private String name;

    private String description;

    @NotNull(message = "经度不能为空")
    private BigDecimal longitude;

    @NotNull(message = "纬度不能为空")
    private BigDecimal latitude;

    private String address;

    private Integer radius = 100;

    private String coverImage;
}
