package cn.qinys.platform.admin.req;

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

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

/**
 * Request for creating a wishing tree
 */
@Data
public class WishingTreeCreateReq implements Serializable {

    @NotNull(message = "许愿树名称不能为空")
    private String name;

    private String description;

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

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

    private String address;

    private Integer radius = 100;

    @NotNull(message = "封面图片不能为空")
    private String coverImage;

    private Integer isActive;

}

