package com.ghy.web.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ghy.order.domain.AfterServiceRecord;
import com.ghy.payment.domain.FinancialChangeRecord;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderStandardDetail {

    private Long orderDetailId;

    private String orderDetailCode;

    private String workerName;

    private String workerPhone;

    private Date revTime;

    @JsonFormat(pattern = "YYYY-MM-dd HH:mm")
    private Date expectTimeStartFront;

    @JsonFormat(pattern = "HH:mm")
    private Date expectTimeEndFront;

    private Date expectTimeStart;

    private Date expectTimeEnd;

    private Date workBeginTime;

    private Date workFinishTime;

    private BigDecimal payMoney;

    private List<FinancialChangeRecord> financialChangeRecord;

    private String remark;

    private List<OrderStandard> orderStandardList;

    private List<String> finishImgList;

    private List<AfterServiceRecord> afterServiceRecordList;

    private Integer orderStatus;

    private Boolean isOnlyServ;

    private Boolean isOverTime;

    private BigDecimal serverMoney;

    /**
     * draw_cash_status
     * 0 未分账
     * 1 已分账
     * 2 已到账
     * -1 提现失败
     */
    private Integer drawCashStatus;

    /**
     * 发起提现时间 draw_cash_time
     */
    private Date drawCashTime;

    /**
     * 是否超时 1=是 0=否
     */
    private Integer timeout;

    /**
     * 超时扣款次数
     */
    private Integer timeoutFineTimes;

    private Integer afterTimeout;

    private BigDecimal addMoney;

    /**
     * 退单原因
     */
    private String returnReason;

    /**
     * 退单原因详情
     */
    private String returnReasonDetail;

    /**
     * 退单图片
     */
    private String returnImages;
    

    /**
     * 发货类型 - 订单的发货方式
     */
    private Integer deliveryType;

    /**
     * 发货备注 - 发货相关备注信息
     */
    private String deliveryRemark;

    /**
     * 发货图片 - 发货凭证图片
     */
    private String deliveryImages;

    /**
     * 快递单号 - 物流跟踪单号
     */
    private String trackingNumber;

    
    
    private String handoverImages;

    
    private String handoverRemark;

    private String orderImages;
      //= "售后状态：0-无售后，1-售后纠纷,2-售后已完成,3-售后已取消"
    private Integer afterPlatformServiceStatus;

    private Integer payStatus;

    private Integer refundPayStatus;
}
