package com.sckw.payment.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

@Data
public class OrderDto {
    private Long id;
    private Long entId;
    private String trading;
    private String tradingLabel;
    @JsonProperty("tOrderId")
    private Long tOrderId;
    @JsonProperty("tOrderNo")
    private String tOrderNo;
    private String contractNo;
    private Long goodsId;
    private String remark;
    private String source;
    private String sourceLabel;
    private String consignmentStatus;
    private String unloadDetailAddressInfo;
    //订单含税金额
    private BigDecimal actualPrice;
    private BigDecimal price;
    private String contractName;
    private LocalDate startTime;
    private LocalDate endTime;
    private Long procureEntId;
    private String goodsName;
    private String goodsType;
    private String unit;
    private String unitLabel;
    private String goodsTypeLabel;
    private BigDecimal goodsAmount;
    private BigDecimal taxRate;
    private String taxRateLabel;
    private String unloadName;
    private BigDecimal unitPrice;
    private BigDecimal amount;
    private Long createBy;
    private String createByName;
    private String pickupTypeLabel;
    private String contractSigningWay;
    private BigDecimal actualAmount;
    private String deliveryType;
    private String deliveryTypeLabel;
    private Long supplyEntId;
    private String pickupType;
    private String statusLabel;
    private String goodsSpec;
    private String loadName;
    private String supplyFirmName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String procureFirmName;
    private String loadDetailAddressInfo;
    private Long contractId;
    private BigDecimal entrustAmount;
    private String projectName;
    private Integer status;
}
