package com.ruoyi.basic.pojo;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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;
|
|
/**
|
* 客户档案对象 customer
|
*
|
* @author ruoyi
|
* @date 2025-05-07
|
*/
|
@TableName(value = "customer")
|
@Data
|
public class Customer extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** $column.columnComment */
|
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")
|
private Date maintenanceTime;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setCustomerName(String customerName)
|
{
|
this.customerName = customerName;
|
}
|
|
public String getCustomerName()
|
{
|
return customerName;
|
}
|
|
public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber)
|
{
|
this.taxpayerIdentificationNumber = taxpayerIdentificationNumber;
|
}
|
|
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();
|
}
|
}
|