Administrator
2024-05-29 62a7f3228c94db41bf57858a6549eb0db033bf1e
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;
    /**
@@ -70,6 +70,13 @@
    public String color;
    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Length(message = "备注长度小于{max}字", min = 1, max = 50)
    public String remark;
    /**
     * 是否删除: 0表示未删除  1表示删除.
     */
    @Schema(description = "片区删除标志,表单不用填写", requiredMode = Schema.RequiredMode.NOT_REQUIRED)