From ebd2f4397a92c6a5096de1b86d59154363344720 Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期二, 13 五月 2025 08:48:15 +0800 Subject: [PATCH] # --- zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/CodeGap.java | 70 +++++++++++++++++++++-------------- 1 files changed, 42 insertions(+), 28 deletions(-) diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/CodeGap.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/CodeGap.java index a67c964..5ff2113 100644 --- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/CodeGap.java +++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/CodeGap.java @@ -9,6 +9,7 @@ import lombok.Data; import java.io.Serializable; +import java.util.Date; @Data @TableName("man_code_gap") @@ -42,7 +43,13 @@ private Double distance; /** - * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� + * 鐘舵�� 1: 姝e父 0: 鍐荤粨 + */ + @ApiModelProperty(value= "鐘舵�� 1: 姝e父 0: 鍐荤粨 ") + private Integer status; + + /** + * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄� 0: 鍚� ") private Integer deleted; @@ -51,37 +58,31 @@ * 绉熸埛 */ @ApiModelProperty(value= "绉熸埛") - private Integer tenantId; + private Long tenantId; - public CodeGap() {} + /** + * 娣诲姞浜哄憳 + */ + @ApiModelProperty(value= "娣诲姞浜哄憳") + private Long createBy; - public CodeGap(Long code0,Long code1,Double distance,Integer deleted,Integer tenantId) { - this.code0 = code0; - this.code1 = code1; - this.distance = distance; - this.deleted = deleted; - this.tenantId = tenantId; - } + /** + * 娣诲姞鏃堕棿 + */ + @ApiModelProperty(value= "娣诲姞鏃堕棿") + private Date createTime; -// CodeGap codeGap = new CodeGap( -// null, // 鏉$爜[闈炵┖] -// null, // 鏉$爜[闈炵┖] -// null, // 璺濈 -// null, // 鏄惁鍒犻櫎[闈炵┖] -// null // 绉熸埛 -// ); + /** + * 淇敼浜哄憳 + */ + @ApiModelProperty(value= "淇敼浜哄憳") + private Long updateBy; - public String getDeleted$(){ - if (null == this.deleted){ return null; } - switch (this.deleted){ - case 1: - return "鏄�"; - case 0: - return "鍚�"; - default: - return String.valueOf(this.deleted); - } - } + /** + * 淇敼鏃堕棿 + */ + @ApiModelProperty(value= "淇敼鏃堕棿") + private Date updateTime; public String getCode0$() { CodeService service = SpringUtils.getBean(CodeService.class); @@ -101,4 +102,17 @@ return null; } + public Boolean getStatusBool(){ + if (null == this.status){ return null; } + switch (this.status){ + case 1: + return true; + case 0: + return false; + default: + return null; + } + } + + } -- Gitblit v1.9.1