package com.ruoyi.measuringinstrumentledger.dto; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; @Data @Schema(name = "备件出库请求") public class SparePartsOutboundDto { @Schema(description = "备件ID", requiredMode = Schema.RequiredMode.REQUIRED) private Long sparePartsId; @Schema(description = "出库数量", requiredMode = Schema.RequiredMode.REQUIRED) private Integer quantity; @Schema(description = "设备ID(可选)") private Long deviceLedgerId; @Schema(description = "备注(可选)") private String remark; }