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;
import java.util.List;

@Data
public class WishCreateReq implements Serializable {

    @NotNull(message = "treeId can not be null")
    private Integer treeId;

    @NotBlank(message = "content can not be blank")
    private String content;

    private List<String> images;

    @NotNull(message = "lng can not be null")
    private BigDecimal lng;

    @NotNull(message = "lat can not be null")
    private BigDecimal lat;

    private String address;

    private Boolean isPublic = true;

    private List<String> tags;

    private Integer type;
}
