liurunyu
2024-10-19 8456b4e16a9fe4284c45b6d56d7dabeea1cb18e9
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoBa/BaBlock.java
@@ -37,14 +37,14 @@
     */
    @Schema(description = "片区名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "片区名称不能为空") //不能为空也不能为null
    @Length(message = "片区名称不大于{max}字符,不小于{min}字符", min = 1, max = 25)
    @Length(message = "片区名称不大于{max}字,不小于{min}字", min = 1, max = 25)
    public String name;
    /**
     * 负责人
     */
    @Schema(description = "片区负责人", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Length(message = "片区负责人姓名不大于{max}字符,不小于{min}字符", min = 1, max = 25)
    @Length(message = "片区负责人姓名不大于{max}字,不小于{min}字", min = 1, max = 25)
    public String header;
    /**
@@ -66,10 +66,17 @@
     * 电子地图区域着色
     */
    @Schema(description = "区域着色", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Length(message = "区域着色长度小于{max}字", min = 1, max = 6)
    @Length(message = "区域着色长度小于{max}字", min = 0, max = 6)
    public String color;
    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Length(message = "备注长度小于{max}字", min = 0, max = 50)
    public String remark;
    /**
     * 是否删除: 0表示未删除  1表示删除.
     */
    @Schema(description = "片区删除标志,表单不用填写", requiredMode = Schema.RequiredMode.NOT_REQUIRED)