package com.cf.imes.module.executor.controller.admin.veneer.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 贴皮管理订单分页响应参数。
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VeneerManageOrderRespVO {

    @Schema(description = "订单号")
    private Long orderId;

    @Schema(description = "父订单ID")
    private Long parentId;

    @Schema(description = "自定义单号")
    private String customOrderNo;

    @Schema(description = "订单类型")
    private String orderType;

    @Schema(description = "客户")
    private String customer;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "片数")
    private Integer num;

    @Schema(description = "平方数")
    private BigDecimal area;

    @Schema(description = "订单日期")
    private LocalDateTime orderDate;

    @Schema(description = "子订单列表")
    private List<VeneerManageOrderRespVO> child;
}
