package org.jeecg.modules.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.system.app.entity.AppOrderProInfo;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "我的订单分页响应对象")
public class PageOrdersVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private String orderId;

    private String orderCode;

    private Integer orderStatus;

    private String originalPrice;

    private BigDecimal price;

    private BigDecimal amount;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Data createTime;

    private List<AppOrderProInfo>  orderProInfoList;
}
