package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.contract;
|
|
import cn.idev.excel.annotation.ExcelIgnore;
|
import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@Schema(description = "管理后台 - ERP 供应商合同 Response VO")
|
@Data
|
public class ErpSupplierContractRespVO {
|
|
@Schema(description = "合同编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "合同编码", example = "HT20261030001")
|
private String code;
|
|
@Schema(description = "合同名称", example = "2026 年度钢材采购合同")
|
private String name;
|
|
@Schema(description = "供应商编号", example = "1")
|
private Long supplierId;
|
|
@Schema(description = "供应商名称", example = "唐山钢铁集团")
|
private String supplierName;
|
|
@Schema(description = "合同类型(1 采购合同 2 合同模板)", example = "1")
|
private Integer type;
|
|
@Schema(description = "签订日期")
|
private LocalDate signDate;
|
|
@Schema(description = "生效日期")
|
private LocalDate beginDate;
|
|
@Schema(description = "截止日期")
|
private LocalDate endDate;
|
|
@Schema(description = "合同金额", example = "100000.00")
|
private BigDecimal totalAmount;
|
|
@Schema(description = "合同状态(1 履行中 2 已完成 3 已终止)", example = "1")
|
private Integer status;
|
|
@Schema(description = "关联采购订单数量", example = "3")
|
private Integer orderCount;
|
|
@Schema(description = "关联采购订单金额合计", example = "50000.00")
|
private BigDecimal orderAmount;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "附件列表")
|
@ExcelIgnore
|
private List<StorageBlobRespDTO> attachmentList;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|