feat: 添加采购交易Excel类
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,192 @@
|
|||||||
|
package com.ruoyi.ccdi.domain.excel;
|
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
||||||
|
import com.ruoyi.common.annotation.Required;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 采购交易信息Excel导入导出对象
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2026-02-06
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class CcdiPurchaseTransactionExcel implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 采购事项ID */
|
||||||
|
@ExcelProperty(value = "采购事项ID", index = 0)
|
||||||
|
@ColumnWidth(20)
|
||||||
|
@Required
|
||||||
|
private String purchaseId;
|
||||||
|
|
||||||
|
/** 采购类别 */
|
||||||
|
@ExcelProperty(value = "采购类别", index = 1)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
@Required
|
||||||
|
private String purchaseCategory;
|
||||||
|
|
||||||
|
/** 项目名称 */
|
||||||
|
@ExcelProperty(value = "项目名称", index = 2)
|
||||||
|
@ColumnWidth(25)
|
||||||
|
private String projectName;
|
||||||
|
|
||||||
|
/** 标的物名称 */
|
||||||
|
@ExcelProperty(value = "标的物名称", index = 3)
|
||||||
|
@ColumnWidth(25)
|
||||||
|
@Required
|
||||||
|
private String subjectName;
|
||||||
|
|
||||||
|
/** 标的物描述 */
|
||||||
|
@ExcelProperty(value = "标的物描述", index = 4)
|
||||||
|
@ColumnWidth(30)
|
||||||
|
private String subjectDesc;
|
||||||
|
|
||||||
|
/** 采购数量 */
|
||||||
|
@ExcelProperty(value = "采购数量", index = 5)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
@Required
|
||||||
|
private String purchaseQty;
|
||||||
|
|
||||||
|
/** 预算金额 */
|
||||||
|
@ExcelProperty(value = "预算金额", index = 6)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
@Required
|
||||||
|
private String budgetAmount;
|
||||||
|
|
||||||
|
/** 中标金额 */
|
||||||
|
@ExcelProperty(value = "中标金额", index = 7)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String bidAmount;
|
||||||
|
|
||||||
|
/** 实际采购金额 */
|
||||||
|
@ExcelProperty(value = "实际采购金额", index = 8)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String actualAmount;
|
||||||
|
|
||||||
|
/** 合同金额 */
|
||||||
|
@ExcelProperty(value = "合同金额", index = 9)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String contractAmount;
|
||||||
|
|
||||||
|
/** 结算金额 */
|
||||||
|
@ExcelProperty(value = "结算金额", index = 10)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String settlementAmount;
|
||||||
|
|
||||||
|
/** 采购方式 */
|
||||||
|
@ExcelProperty(value = "采购方式", index = 11)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
@Required
|
||||||
|
private String purchaseMethod;
|
||||||
|
|
||||||
|
/** 中标供应商名称 */
|
||||||
|
@ExcelProperty(value = "中标供应商名称", index = 12)
|
||||||
|
@ColumnWidth(25)
|
||||||
|
private String supplierName;
|
||||||
|
|
||||||
|
/** 供应商联系人 */
|
||||||
|
@ExcelProperty(value = "供应商联系人", index = 13)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
private String contactPerson;
|
||||||
|
|
||||||
|
/** 供应商联系电话 */
|
||||||
|
@ExcelProperty(value = "供应商联系电话", index = 14)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String contactPhone;
|
||||||
|
|
||||||
|
/** 供应商统一信用代码 */
|
||||||
|
@ExcelProperty(value = "供应商统一信用代码", index = 15)
|
||||||
|
@ColumnWidth(25)
|
||||||
|
private String supplierUscc;
|
||||||
|
|
||||||
|
/** 供应商银行账户 */
|
||||||
|
@ExcelProperty(value = "供应商银行账户", index = 16)
|
||||||
|
@ColumnWidth(20)
|
||||||
|
private String supplierBankAccount;
|
||||||
|
|
||||||
|
/** 采购申请日期(或立项日期) */
|
||||||
|
@ExcelProperty(value = "采购申请日期", index = 17)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
@Required
|
||||||
|
private String applyDate;
|
||||||
|
|
||||||
|
/** 采购计划批准日期 */
|
||||||
|
@ExcelProperty(value = "采购计划批准日期", index = 18)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String planApproveDate;
|
||||||
|
|
||||||
|
/** 采购公告发布日期 */
|
||||||
|
@ExcelProperty(value = "采购公告发布日期", index = 19)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String announceDate;
|
||||||
|
|
||||||
|
/** 开标日期 */
|
||||||
|
@ExcelProperty(value = "开标日期", index = 20)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String bidOpenDate;
|
||||||
|
|
||||||
|
/** 合同签订日期 */
|
||||||
|
@ExcelProperty(value = "合同签订日期", index = 21)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String contractSignDate;
|
||||||
|
|
||||||
|
/** 预计交货日期 */
|
||||||
|
@ExcelProperty(value = "预计交货日期", index = 22)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String expectedDeliveryDate;
|
||||||
|
|
||||||
|
/** 实际交货日期 */
|
||||||
|
@ExcelProperty(value = "实际交货日期", index = 23)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String actualDeliveryDate;
|
||||||
|
|
||||||
|
/** 验收日期 */
|
||||||
|
@ExcelProperty(value = "验收日期", index = 24)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String acceptanceDate;
|
||||||
|
|
||||||
|
/** 结算日期 */
|
||||||
|
@ExcelProperty(value = "结算日期", index = 25)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String settlementDate;
|
||||||
|
|
||||||
|
/** 申请人工号 */
|
||||||
|
@ExcelProperty(value = "申请人工号", index = 26)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
@Required
|
||||||
|
private String applicantId;
|
||||||
|
|
||||||
|
/** 申请人姓名 */
|
||||||
|
@ExcelProperty(value = "申请人姓名", index = 27)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
@Required
|
||||||
|
private String applicantName;
|
||||||
|
|
||||||
|
/** 申请部门 */
|
||||||
|
@ExcelProperty(value = "申请部门", index = 28)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
@Required
|
||||||
|
private String applyDepartment;
|
||||||
|
|
||||||
|
/** 采购负责人工号 */
|
||||||
|
@ExcelProperty(value = "采购负责人工号", index = 29)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
private String purchaseLeaderId;
|
||||||
|
|
||||||
|
/** 采购负责人姓名 */
|
||||||
|
@ExcelProperty(value = "采购负责人姓名", index = 30)
|
||||||
|
@ColumnWidth(15)
|
||||||
|
private String purchaseLeaderName;
|
||||||
|
|
||||||
|
/** 采购部门 */
|
||||||
|
@ExcelProperty(value = "采购部门", index = 31)
|
||||||
|
@ColumnWidth(18)
|
||||||
|
private String purchaseDepartment;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user