|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import jakarta.validation.constraints.Min; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotBlank; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotNull; | 
|---|
|  |  |  | import jakarta.validation.constraints.Positive; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | public static final long serialVersionUID = 20231191728001L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 水卡地址 | 
|---|
|  |  |  | * 水卡编号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "水卡地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @NotBlank | 
|---|
|  |  |  | private String cardAddr; | 
|---|
|  |  |  | @Schema(description = "水卡编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @NotNull(message = "水卡编号不能为空") | 
|---|
|  |  |  | //private String cardAddr; | 
|---|
|  |  |  | private Long cardNum; | 
|---|
|  |  |  | //private Long cardId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 农户编号 | 
|---|
|  |  |  | * 农户ID,不是充值接口传入,由开卡对象传入,保存充值记录需要 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "农户编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | //private String clientNum; | 
|---|
|  |  |  | private Long clientId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|