package com.ruoyi.sales.dto; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.basic.dto.StorageBlobDTO; import com.ruoyi.basic.dto.StorageBlobVO; import com.ruoyi.sales.pojo.CommonFile; import com.ruoyi.sales.pojo.SalesLedgerProduct; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Date; import java.util.List; @Data public class SalesLedgerDto { private Long id; private String salesContractNo; private String customerContractNo; private String projectName; @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date entryDate; private String entryDateStart; private String entryDateEnd; private String salesman; private Long customerId; private String customerName; private String entryPerson; private String remarks; private String attachmentMaterials; @TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate issueDate; @TableField(exist = false) private String invoiceNo; @TableField(exist = false) private String createUser; private Boolean hasChildren = false; private List productData; private List productDtoData; private List tempFileIds; private List SalesLedgerFiles; private Integer type; @Schema(description = "签订日期") private LocalDate executionDate; private Boolean status; @Schema(description = "付款方式") private String paymentMethod; @Schema(description = "交货日期") private LocalDate deliveryDate; private List storageBlobDTOs; private List StorageBlobVOs; @Schema(description = "项目ID") private Long projectId; @Schema(description = "年份") private Integer year; @Schema(description = "签单单位ID") private Long signingUnitId; @Schema(description = "办事处ID") private Long officeId; @Schema(description = "组负责人ID") private Long groupLeaderId; @Schema(description = "是否开发票(1是 0否)") private Integer isInvoice; @Schema(description = "中标价") private BigDecimal bidPrice; @Schema(description = "是否中标(1是 0否)") private Integer isBid; @Schema(description = "未中标原因") private String unbidReason; @Schema(description = "合同原件约定回传日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate contractOriginalReturnDate; @Schema(description = "关联合同ID列表") private List associatedContractIds; }