package cn.gov.customs.demo.pojo;

import cn.gov.customs.cacp.enhance.accessory.pojo.Accessory;
import cn.gov.customs.demo.constants.OrderLevel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @description TODO
 * @author sunxuewen
 * @since 2024/11/21 上午8:16
 */
@Getter
@Setter
@ToString(of = {"orderId", "parentId", "userId", "userName", "orderAmount"})
@EqualsAndHashCode(of = "orderId")
public class OrderInfo implements Serializable {
  private String orderId;
  private String parentId;
  private String userId;
  private String userName;
  private String categoryCode;
  private int orderAmount;
  private OrderLevel orderLevel;
  private LocalDateTime createTime;

  private List<Accessory> accessoryList;
}
