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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sckw.payment.model.dto.OrderDto;
import lombok.Getter;
import lombok.Setter;

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

/**
 * 对账单详情
 *
 * @author xucaiqin
 * @date 2023-07-10 17:04:51
 */
@Getter
@Setter
public class LedgerTradeDetailVo {
    private Long id;
    //客户企业id
    private Long purchaseEntId;
    //客户企业名称
    private String firmName;
    private String tLedgerNo;
    private String name;

    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<OrderDto> orderList;
    private String remark;
    /**
     * 销售联系人或采购联系人信息
     */
    private String phone;
    private String user;

}
