| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import jakarta.validation.constraints.NotNull; |
| | |
| | | * 覆盖村 |
| | | */ |
| | | @Schema(description = "覆盖村", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "覆盖村不大于{max}字,不小于{min}字", min = 1, max = 100) |
| | | @Length(message = "覆盖村不大于{max}字", max = 100) |
| | | private String villages; |
| | | |
| | | /** |
| | | * 覆盖面积(平方公里) |
| | | */ |
| | | @Schema(description = "覆盖面积", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double area; |
| | | |
| | | /** |