wuzeyu
2024-08-20 d73f1c8f380e28715f80fc585c167d0ab95e3aa0
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoPr/PrDivide.java
@@ -33,7 +33,7 @@
@AllArgsConstructor
@Schema(name = "分水房实体")
public class PrDivide implements BaseEntity {
    public static final long serialVersionUID = 1L;
    public static final long serialVersionUID = 202401151517002L;
    /**
     * 主键
     */
@@ -61,7 +61,7 @@
     */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    @Schema(description = "所在村ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "所在村不能为空")
//    @NotNull(message = "所在村不能为空")
    private Long villageid;
    /**
@@ -84,7 +84,7 @@
     * 覆盖村
     */
    @Schema(description = "覆盖村", requiredMode = Schema.RequiredMode.REQUIRED)
    @Length(message = "覆盖村不大于{max}字,不小于{min}字", min = 1, max = 100)
    @Length(message = "覆盖村不大于{max}字", max = 100)
    private String villages;
    /**
@@ -104,7 +104,7 @@
     */
    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    //@NotBlank(message = "联系电话不能为空")
    @Length(message = "农联系电话必须{max}位数据", min = 11, max = 11)
    @Length(message = "农联系电话必须{max}位数据",  max = 11)
    private String phone;
    /**
@@ -125,14 +125,14 @@
     * 备注信息
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Length(message = "备注不大于{max}字,不小于{min}字", min = 1, max = 200)
    @Length(message = "备注不大于{max}字", max = 200)
    private String remarks;
    /**
     * 操作人编号
     * 操作人ID
     */
    @Schema(description = "操作人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "操作人编号不能为空")
    @Schema(description = "操作人ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "操作人ID不能为空")
    private Long operator;
    /**