From 964c095a69cc70115b6c5c185c0682aeb68da5ab Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 12 九月 2022 14:47:27 +0800
Subject: [PATCH] #
---
src/main/java/zy/cloud/wms/manager/entity/Cstmr.java | 117 +++-------------------------------------------------------
1 files changed, 6 insertions(+), 111 deletions(-)
diff --git a/src/main/java/zy/cloud/wms/manager/entity/Cstmr.java b/src/main/java/zy/cloud/wms/manager/entity/Cstmr.java
index 3454f0b..802ec5b 100644
--- a/src/main/java/zy/cloud/wms/manager/entity/Cstmr.java
+++ b/src/main/java/zy/cloud/wms/manager/entity/Cstmr.java
@@ -7,6 +7,7 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import zy.cloud.wms.system.entity.Host;
import zy.cloud.wms.system.entity.User;
import zy.cloud.wms.system.service.HostService;
@@ -16,6 +17,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;
+@Data
@TableName("man_cstmr")
public class Cstmr implements Serializable {
@@ -105,22 +107,12 @@
@ApiModelProperty(value= "澶囨敞")
private String memo;
+ @TableField("user_code")
+ private String userCode;
+
public Cstmr() {}
- public Cstmr(Long hostId, String uuid,String name,String contacts,String tel,String addr,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
- this.hostId = hostId;
- this.uuid = uuid;
- this.name = name;
- this.contacts = contacts;
- this.tel = tel;
- this.addr = addr;
- this.status = status;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.memo = memo;
- }
+
// Cstmr cstmr = new Cstmr(
// null, // 瀹㈡埛缂栧彿[闈炵┖]
@@ -136,21 +128,7 @@
// null // 澶囨敞
// );
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
-
- public Long getHostId() {
- return hostId;
- }
-
- public void setHostId(Long hostId) {
- this.hostId = hostId;
- }
public String getHostId$(){
HostService service = SpringUtils.getBean(HostService.class);
@@ -161,49 +139,6 @@
return null;
}
- public String getUuid() {
- return uuid;
- }
-
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getContacts() {
- return contacts;
- }
-
- public void setContacts(String contacts) {
- this.contacts = contacts;
- }
-
- public String getTel() {
- return tel;
- }
-
- public void setTel(String tel) {
- this.tel = tel;
- }
-
- public String getAddr() {
- return addr;
- }
-
- public void setAddr(String addr) {
- this.addr = addr;
- }
-
- public Integer getStatus() {
- return status;
- }
public String getStatus$(){
if (null == this.status){ return null; }
@@ -217,13 +152,6 @@
}
}
- public void setStatus(Integer status) {
- this.status = status;
- }
-
- public Long getCreateBy() {
- return createBy;
- }
public String getCreateBy$(){
UserService service = SpringUtils.getBean(UserService.class);
@@ -234,14 +162,6 @@
return null;
}
- public void setCreateBy(Long createBy) {
- this.createBy = createBy;
- }
-
- public Date getCreateTime() {
- return createTime;
- }
-
public String getCreateTime$(){
if (Cools.isEmpty(this.createTime)){
return "";
@@ -249,13 +169,7 @@
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
}
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public Long getUpdateBy() {
- return updateBy;
- }
public String getUpdateBy$(){
UserService service = SpringUtils.getBean(UserService.class);
@@ -266,13 +180,7 @@
return null;
}
- public void setUpdateBy(Long updateBy) {
- this.updateBy = updateBy;
- }
- public Date getUpdateTime() {
- return updateTime;
- }
public String getUpdateTime$(){
if (Cools.isEmpty(this.updateTime)){
@@ -280,18 +188,5 @@
}
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
}
-
- public void setUpdateTime(Date updateTime) {
- this.updateTime = updateTime;
- }
-
- public String getMemo() {
- return memo;
- }
-
- public void setMemo(String memo) {
- this.memo = memo;
- }
-
}
--
Gitblit v1.9.1