package com.seer.teach.user.app.user.controller.req;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

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

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "判断地区")
public class JudgeAreaReq {

    @Schema(description = "孩子Id")
    @NotNull(message = "孩子Id不可为空")
    private Integer childId;

    @NotBlank(message = "省份不可为空")
    @Schema(description = "省份")
    private String province;

    @NotBlank(message = "城市不可为空")
    @Schema(description = "城市")
    private String city ;
}
