package com.tmerclub.cloud.cuerecycle.model.vo;

import com.tmerclub.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 回收订单视图对象
 *
 * @author :  frank
 * @create :  2025-04-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppCueOrderVO extends BaseVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private Long orderId;
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;
    /**
     * 商品ID
     */
    @Schema(description = "商品ID")
    private Long productId;
    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String productName;
    /**
     * 商品图片
     */
    @Schema(description = "商品图片")
    private String productImages;
    /**
     * 类型：1-回收，2-置换，3-寄售
     */
    @Schema(description = "类型：1-回收，2-置换，3-寄售")
    private Integer cueOrderType;
    /**
     * 订单状态
     */
    @Schema(description = "订单状态")
    private Integer orderStatus;
    /**
     * 预计金额
     */
    @Schema(description = "预计金额")
    private Long estimatedAmount;
    /**
     * 评估金额
     */
    @Schema(description = "评估金额")
    private Long actualAmount;
    /**
     * 代金卷金额
     */
    @Schema(description = "代金卷金额")
    private Long voucherAmount;
    /**
     * 是否已支付，1.已支付0.未支付
     */
    @Schema(description = "是否已支付，1.已支付0.未支付")
    private Integer isPayed;
    /**
     * 支付方式：1-余额，2-代金卷
     */
    @Schema(description = "支付方式：1-余额，2-代金卷")
    private Integer payType;
    /**
     * 付款时间
     */
    @Schema(description = "付款时间")
    private Date payTime;
    /**
     * 发货时间
     */
    @Schema(description = "发货时间")
    private Date deliveryTime;
    /**
     * 完成时间
     */
    @Schema(description = "完成时间")
    private Date finallyTime;
    /**
     * 商城订单ID
     */
    @Schema(description = "商城订单ID")
    private Long mallOrderId;
    /**
     * 寄售佣金
     */
    @Schema(description = "寄售佣金")
    private Long brokerage;
    /**
     * 服务费
     */
    @Schema(description = "服务费")
    private Long serviceCharge;
    /**
     * 寄出时快递单号
     */
    @Schema(description = "寄出时快递单号")
    private String sendNumber;
    /**
     * 用户姓名
     */
    @Schema(description = "姓名")
    private String userName;
    /**
     * 用户联系方式
     */
    @Schema(description = "手机号")
    private String userPhone;
    /**
     * 寄出时候选定的仓库id
     */
    @Schema(description = "寄出时候选定的仓库id")
    private Long warehouseId;
}