package com.xingxi.business.Order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * 订单商品快递明细对象 t_order_delivery_expr
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class OrderDeliveryExpr extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    // 订单明细ID
    @Excel(name = "订单明细ID")
    private Long orderDetailId;

    // 订单发货单ID
    @Excel(name = "订单发货单ID")
    private Long orderDeliveryId;

    // 快递单号
    @Excel(name = "快递单号")
    private String expressNo;

    // 发货时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    // 确收货时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确收货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmTime;

    // 删除标志
    @Excel(name = "删除标志")
    private String delFlag;
}
