package com.erp.reconciliation.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 对账差异DTO
 * 
 * @author ERP Migration
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ReconciliationDifferenceDTO {

    private Long id;
    private Long billId;
    private String billNo;
    
    /** 差异类型 */
    private String differenceType;
    private String differenceTypeLabel;
    
    /** 订单信息 */
    private String platformOrderSn;
    private Long internalOrderId;
    private String internalOrderSn;
    
    /** 金额信息 */
    private BigDecimal platformOrderAmount;
    private BigDecimal internalOrderAmount;
    private BigDecimal differenceAmount;
    
    /** 状态信息 */
    private String platformOrderStatus;
    private String internalOrderStatus;
    private String differenceReason;
    private String handleStatus;
    private String handleStatusLabel;
    
    /** 处理信息 */
    private String handleMethod;
    private Long handleUserId;
    private String handleUserName;
    private LocalDateTime handleTime;
    private String handleRemark;
    
    private Long relatedBillId;
    private String remark;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
