From a95ea84bcb75d7132a3c7333c2c5252be29a3f0d Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期三, 24 九月 2025 17:46:18 +0800
Subject: [PATCH] OA系统-项目任务协同。项目,项目阶段,项目阶段任务
---
src/main/java/com/ruoyi/basic/pojo/Customer.java | 165 ++++++++++++++++--------------------------------------
1 files changed, 49 insertions(+), 116 deletions(-)
diff --git a/src/main/java/com/ruoyi/basic/pojo/Customer.java b/src/main/java/com/ruoyi/basic/pojo/Customer.java
index 6340aec..d68b918 100644
--- a/src/main/java/com/ruoyi/basic/pojo/Customer.java
+++ b/src/main/java/com/ruoyi/basic/pojo/Customer.java
@@ -1,165 +1,98 @@
package com.ruoyi.basic.pojo;
+import java.io.Serializable;
import java.util.Date;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
-import org.apache.commons.lang3.builder.ToStringBuilder;
-import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
-import com.ruoyi.framework.web.domain.BaseEntity;
/**
* 瀹㈡埛妗f瀵硅薄 customer
- *
+ *
* @author ruoyi
* @date 2025-05-07
*/
@TableName(value = "customer")
@Data
-public class Customer extends BaseEntity
-{
+public class Customer implements Serializable {
private static final long serialVersionUID = 1L;
- /** $column.columnComment */
+ /**
+ * 搴忓彿
+ */
+ @TableId(type = IdType.AUTO)
private Long id;
- /** 瀹㈡埛鍚嶇О */
+ /**
+ * 瀹㈡埛鍚嶇О
+ */
@Excel(name = "瀹㈡埛鍚嶇О")
private String customerName;
- /** 绾崇◣浜鸿瘑鍒彿 */
+ /**
+ * 绾崇◣浜鸿瘑鍒彿
+ */
@Excel(name = "绾崇◣浜鸿瘑鍒彿")
private String taxpayerIdentificationNumber;
- /** 鍏徃鍦板潃 */
+ /**
+ * 鍏徃鍦板潃
+ */
@Excel(name = "鍏徃鍦板潃")
private String companyAddress;
- /** 鍏徃鐢佃瘽 */
+ /**
+ * 鍏徃鐢佃瘽
+ */
@Excel(name = "鍏徃鐢佃瘽")
private String companyPhone;
- /** 鑱旂郴浜� */
+ /**
+ * 鑱旂郴浜�
+ */
@Excel(name = "鑱旂郴浜�")
private String contactPerson;
- /** 鑱旂郴鐢佃瘽 */
+ /**
+ * 鑱旂郴鐢佃瘽
+ */
@Excel(name = "鑱旂郴鐢佃瘽")
private String contactPhone;
- /** 缁存姢浜� */
+ /**
+ * 缁存姢浜�
+ */
@Excel(name = "缁存姢浜�")
private String maintainer;
- /** 缁存姢鏃堕棿 */
+ /**
+ * 缁存姢鏃堕棿
+ */
@JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "缁存姢鏃堕棿", width = 30, dateFormat = "yyyy-MM-dd")
+ @Excel(name = "缁存姢鏃堕棿" , width = 30, dateFormat = "yyyy-MM-dd")
private Date maintenanceTime;
- public void setId(Long id)
- {
- this.id = id;
- }
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
- public Long getId()
- {
- return id;
- }
+ @TableField(exist = false)
+ private Long[] ids;
- public void setCustomerName(String customerName)
- {
- this.customerName = customerName;
- }
+ @TableField(exist = false)
+ private String addressPhone;
- public String getCustomerName()
- {
- return customerName;
- }
+ @ApiModelProperty(value = "閾惰鍩烘湰鎴�")
+ @Excel(name = "閾惰鍩烘湰鎴�")
+ private String basicBankAccount;
- public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber)
- {
- this.taxpayerIdentificationNumber = taxpayerIdentificationNumber;
- }
+ @ApiModelProperty(value = "閾惰璐﹀彿")
+ @Excel(name = "閾惰璐﹀彿")
+ private String bankAccount;
- public String getTaxpayerIdentificationNumber()
- {
- return taxpayerIdentificationNumber;
- }
-
- public void setCompanyAddress(String companyAddress)
- {
- this.companyAddress = companyAddress;
- }
-
- public String getCompanyAddress()
- {
- return companyAddress;
- }
-
- public void setCompanyPhone(String companyPhone)
- {
- this.companyPhone = companyPhone;
- }
-
- public String getCompanyPhone()
- {
- return companyPhone;
- }
-
- public void setContactPerson(String contactPerson)
- {
- this.contactPerson = contactPerson;
- }
-
- public String getContactPerson()
- {
- return contactPerson;
- }
-
- public void setContactPhone(String contactPhone)
- {
- this.contactPhone = contactPhone;
- }
-
- public String getContactPhone()
- {
- return contactPhone;
- }
-
- public void setMaintainer(String maintainer)
- {
- this.maintainer = maintainer;
- }
-
- public String getMaintainer()
- {
- return maintainer;
- }
-
- public void setMaintenanceTime(Date maintenanceTime)
- {
- this.maintenanceTime = maintenanceTime;
- }
-
- public Date getMaintenanceTime()
- {
- return maintenanceTime;
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("customerName", getCustomerName())
- .append("taxpayerIdentificationNumber", getTaxpayerIdentificationNumber())
- .append("companyAddress", getCompanyAddress())
- .append("companyPhone", getCompanyPhone())
- .append("contactPerson", getContactPerson())
- .append("contactPhone", getContactPhone())
- .append("maintainer", getMaintainer())
- .append("maintenanceTime", getMaintenanceTime())
- .toString();
- }
+ @ApiModelProperty(value = "寮�鎴疯鍙�")
+ @Excel(name = "寮�鎴疯鍙�")
+ private String bankCode;
}
--
Gitblit v1.9.3