package com.ruoyi.aftersales.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 售后单对象 aftersales_order * * @author 刘晓旭 * @date 2024-04-24 */ public class AftersalesOrder extends BaseEntity { private static final long serialVersionUID = 1L; /** 售后单ID */ private Long aftersalesOrderId; /** 售后单号 */ @Excel(name = "售后单号") private String aftersalesOrderCode; /** 关联销售订单号 */ @Excel(name = "关联销售订单号") private String salesOrderCode; /** 关联生产订单号 */ private String makeNo; /** 用户ID */ private Long userId; /** 审核状态 */ private String auditStatus; /** 售后状态 */ @Excel(name = "售后状态") private String aftersalesStatus; /** 业务员 */ @Excel(name = "业务员") private String businessName; /** 售后员 */ @Excel(name = "售后员") private String aftersalesName; /** 客户ID */ @Excel(name = "客户ID") private String customerId; /** 客户名称 */ @Excel(name = "客户名称") private String customerName; /** 料号 */ private String materialNo; /** 物料名称 */ private String materialName; /** 物料数合计 */ @Excel(name = "物料数合计") private String materialSum; /** 数量合计 */ @Excel(name = "数量合计") private String enterpriseSum; /** 客户要求出发日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "客户要求出发日期", width = 30, dateFormat = "yyyy-MM-dd") private Date startDate; /** 收货联系人 */ @Excel(name = "收货联系人") private String deliveryName; /** 收货电话 */ @Excel(name = "收货电话") private String deliveryNumber; /** 公司地址 */ @Excel(name = "公司地址") private String companyAddress; /** 服务内容 */ private String serviceContent; /** 用户评价 */ private String userCommentAttachment; /** 流程实例ID */ private String instanceId; /** 流程实例类型 */ private String instanceType; /** 流程提交实例ID */ private String submitInstanceId; /** 申请标题 */ private String applyTitle; /** 申请时间 */ private Date applyTime; /** 申请人 */ private String applyUser; /** 流程作废实例ID */ private String cancelInstanceId; /** 流程恢复实例ID */ private String restoreInstanceId; public void setAftersalesOrderId(Long aftersalesOrderId) { this.aftersalesOrderId = aftersalesOrderId; } public Long getAftersalesOrderId() { return aftersalesOrderId; } public void setAftersalesOrderCode(String aftersalesOrderCode) { this.aftersalesOrderCode = aftersalesOrderCode; } public String getAftersalesOrderCode() { return aftersalesOrderCode; } public void setSalesOrderCode(String salesOrderCode) { this.salesOrderCode = salesOrderCode; } public String getSalesOrderCode() { return salesOrderCode; } public void setMakeNo(String makeNo) { this.makeNo = makeNo; } public String getMakeNo() { return makeNo; } public void setUserId(Long userId) { this.userId = userId; } public Long getUserId() { return userId; } public void setAuditStatus(String auditStatus) { this.auditStatus = auditStatus; } public String getAuditStatus() { return auditStatus; } public void setAftersalesStatus(String aftersalesStatus) { this.aftersalesStatus = aftersalesStatus; } public String getAftersalesStatus() { return aftersalesStatus; } public void setBusinessName(String businessName) { this.businessName = businessName; } public String getBusinessName() { return businessName; } public void setAftersalesName(String aftersalesName) { this.aftersalesName = aftersalesName; } public String getAftersalesName() { return aftersalesName; } public void setCustomerId(String customerId) { this.customerId = customerId; } public String getCustomerId() { return customerId; } public void setCustomerName(String customerName) { this.customerName = customerName; } public String getCustomerName() { return customerName; } public void setMaterialNo(String materialNo) { this.materialNo = materialNo; } public String getMaterialNo() { return materialNo; } public void setMaterialName(String materialName) { this.materialName = materialName; } public String getMaterialName() { return materialName; } public void setMaterialSum(String materialSum) { this.materialSum = materialSum; } public String getMaterialSum() { return materialSum; } public void setEnterpriseSum(String enterpriseSum) { this.enterpriseSum = enterpriseSum; } public String getEnterpriseSum() { return enterpriseSum; } public void setStartDate(Date startDate) { this.startDate = startDate; } public Date getStartDate() { return startDate; } public void setDeliveryName(String deliveryName) { this.deliveryName = deliveryName; } public String getDeliveryName() { return deliveryName; } public void setDeliveryNumber(String deliveryNumber) { this.deliveryNumber = deliveryNumber; } public String getDeliveryNumber() { return deliveryNumber; } public void setCompanyAddress(String companyAddress) { this.companyAddress = companyAddress; } public String getCompanyAddress() { return companyAddress; } public void setServiceContent(String serviceContent) { this.serviceContent = serviceContent; } public String getServiceContent() { return serviceContent; } public void setUserCommentAttachment(String userCommentAttachment) { this.userCommentAttachment = userCommentAttachment; } public String getUserCommentAttachment() { return userCommentAttachment; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getInstanceId() { return instanceId; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; } public String getInstanceType() { return instanceType; } public void setSubmitInstanceId(String submitInstanceId) { this.submitInstanceId = submitInstanceId; } public String getSubmitInstanceId() { return submitInstanceId; } public void setApplyTitle(String applyTitle) { this.applyTitle = applyTitle; } public String getApplyTitle() { return applyTitle; } public void setApplyTime(Date applyTime) { this.applyTime = applyTime; } public Date getApplyTime() { return applyTime; } public void setApplyUser(String applyUser) { this.applyUser = applyUser; } public String getApplyUser() { return applyUser; } public void setCancelInstanceId(String cancelInstanceId) { this.cancelInstanceId = cancelInstanceId; } public String getCancelInstanceId() { return cancelInstanceId; } public void setRestoreInstanceId(String restoreInstanceId) { this.restoreInstanceId = restoreInstanceId; } public String getRestoreInstanceId() { return restoreInstanceId; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("aftersalesOrderId", getAftersalesOrderId()) .append("aftersalesOrderCode", getAftersalesOrderCode()) .append("salesOrderCode", getSalesOrderCode()) .append("makeNo", getMakeNo()) .append("userId", getUserId()) .append("auditStatus", getAuditStatus()) .append("aftersalesStatus", getAftersalesStatus()) .append("businessName", getBusinessName()) .append("aftersalesName", getAftersalesName()) .append("customerId", getCustomerId()) .append("customerName", getCustomerName()) .append("materialNo", getMaterialNo()) .append("materialName", getMaterialName()) .append("materialSum", getMaterialSum()) .append("enterpriseSum", getEnterpriseSum()) .append("startDate", getStartDate()) .append("deliveryName", getDeliveryName()) .append("deliveryNumber", getDeliveryNumber()) .append("companyAddress", getCompanyAddress()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("remark", getRemark()) .append("serviceContent", getServiceContent()) .append("userCommentAttachment", getUserCommentAttachment()) .append("instanceId", getInstanceId()) .append("instanceType", getInstanceType()) .append("submitInstanceId", getSubmitInstanceId()) .append("applyTitle", getApplyTitle()) .append("applyTime", getApplyTime()) .append("applyUser", getApplyUser()) .append("cancelInstanceId", getCancelInstanceId()) .append("restoreInstanceId", getRestoreInstanceId()) .toString(); } }