From fbf44e2ba37f43fabc220964b5acc3603d96faa8 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 08 九月 2022 12:56:02 +0800 Subject: [PATCH] # --- src/main/java/zy/cloud/wms/manager/entity/ProjectType.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/zy/cloud/wms/manager/entity/ProjectType.java b/src/main/java/zy/cloud/wms/manager/entity/ProjectType.java index f56df81..13c8173 100644 --- a/src/main/java/zy/cloud/wms/manager/entity/ProjectType.java +++ b/src/main/java/zy/cloud/wms/manager/entity/ProjectType.java @@ -13,9 +13,12 @@ import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotations.TableName; +import lombok.Data; + import java.io.Serializable; @TableName("sys_project_type") +@Data public class ProjectType implements Serializable { private static final long serialVersionUID = 1L; @@ -52,6 +55,13 @@ @TableField("str_3") private String str3; + /** + * 0:甯歌椤圭洰 + * 1:闆嗘垚椤圭洰 + */ + @TableField("is_asrs") + private Integer isAsrs; + public ProjectType() {} public ProjectType(Integer id,Integer typeId,String typeName,Integer typeStatus,Integer typeClass,String str1,String str2,String str3) { @@ -80,6 +90,14 @@ return id; } + public String getIsAsrs$(){ + if (this.isAsrs == 0) { + return "甯歌椤圭洰"; + }else { + return "闆嗘垚椤圭洰"; + } + } + public void setId(Integer id) { this.id = id; } -- Gitblit v1.9.1