package com.sckw.payment.model.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sckw.transport.api.model.dto.AcceptCarriageLogisticsOrderDto;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 对账单详情
 *
 * @author xucaiqin
 * @date 2023-07-10 17:04:51
 */
@Getter
@Setter
public class LedgerLogisticsDetailVo {
    private Long id;
    @JsonProperty("lLedgerNo")
    private String lLedgerNo;
    private Long checkEntId;
    private String name;
    private String firmName;
    private String trading;
    private String tradingLabel;

    private Integer taxRate;
    private String taxRateLabel;

    private BigDecimal totalPrice;
    private BigDecimal settlePrice;
    private BigDecimal actualPrice;
    private BigDecimal deductPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    private List<AcceptCarriageLogisticsOrderDto> orderList = new ArrayList<>();
    private String remark;

    /**
     * 承运方或托运方财务联系人信息
     */
    private String user;
    private String phone;


}
