|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotNull; | 
|---|
|  |  |  | import jakarta.validation.constraints.Positive; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  | import org.hibernate.validator.constraints.Length; | 
|---|
|  |  |  | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | @Schema(name = "水卡冲正实体") | 
|---|
|  |  |  | public class SeReversal implements BaseEntity { | 
|---|
|  |  |  | public static final long serialVersionUID = 1L; | 
|---|
|  |  |  | public static final long serialVersionUID = 202401151519003L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 主键 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 水卡编号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "水卡编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Positive(message = "水卡编号必须为大于0的整数") | 
|---|
|  |  |  | @NotNull(message = "水卡编号不能为空") | 
|---|
|  |  |  | private Long cardid; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 农户编号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "农户编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Length(message = "农户编号不小于{min}", min = 1) | 
|---|
|  |  |  | @NotNull(message = "农户编号不能为空") | 
|---|
|  |  |  | private Long clientid; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | private String remarks; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 操作人编号 | 
|---|
|  |  |  | * 操作人ID | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "操作人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Positive(message = "操作人编号必须为大于0的整数") | 
|---|
|  |  |  | @Schema(description = "操作人ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Positive(message = "操作人ID必须为大于0的整数") | 
|---|
|  |  |  | private Long operator; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|