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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "管理后台 - 配件对应板材信息")
public class PartGoodsRespVO {

    @Schema(description = "柜体号", example = "11087")
    private Long bodyId;

    @Schema(description = "柜体名称", example = "11087")
    private String bodyName;

    @Schema(description = "房间号", example = "11087")
    private Long roomId;

    @Schema(description = "房间名称", example = "11087")
    private String roomName;

    @Schema(description = "配件 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29347")
    private Long id;

    @Schema(description = "生产单号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long orderId;

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1195")
    private String goodsId;

    @Schema(description = "配件名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "晨丰")
    private String name;

    @Schema(description = "材质", requiredMode = Schema.RequiredMode.REQUIRED)
    private String material;

    @Schema(description = "配件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String type;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String model;

    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED)
    private String spec;

    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    private String brand;

    @Schema(description = "厂家", requiredMode = Schema.RequiredMode.REQUIRED)
    private String factory;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    private String unit;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "29507")
    private Double price;

    @Schema(description = "是否复合部件：0 否 1 是", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isComposite;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "29507")
    private Double num;

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "29507")
    private Double totalPrice;
}
