liyong
8 天以前 1ab2b329a40decba8ff7eefbeb158ff259aceb6d
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/dto/MdmItemRespDTO.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,75 @@
package cn.iocoder.yudao.module.mdm.api.item.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
@Schema(description = "RPC æœåŠ¡ - MDM ç‰©æ–™ Response DTO")
@Data
public class MdmItemRespDTO {
    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
    @Schema(description = "物料编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "ITEM001")
    private String code;
    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "螺丝")
    private String name;
    @Schema(description = "物料条码", example = "12345678")
    private String barCode;
    @Schema(description = "规格型号", example = "M8*20")
    private String specification;
    @Schema(description = "物料分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long categoryId;
    @Schema(description = "计量单位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long unitMeasureId;
    @Schema(description = "品牌编号", example = "1")
    private Long brandId;
    @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer itemType;
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
    @Schema(description = "采购价格", example = "10.00")
    private BigDecimal purchasePrice;
    @Schema(description = "销售价格", example = "15.00")
    private BigDecimal salesPrice;
    @Schema(description = "成本价格", example = "8.00")
    private BigDecimal costPrice;
    @Schema(description = "安全库存", example = "100")
    private BigDecimal safetyStock;
    @Schema(description = "最低库存", example = "50")
    private BigDecimal minStock;
    @Schema(description = "最高库存", example = "500")
    private BigDecimal maxStock;
    @Schema(description = "保质期天数", example = "365")
    private Integer expiryDay;
    @Schema(description = "是否批次管理", example = "false")
    private Boolean isBatchManaged;
    @Schema(description = "是否高值物料", example = "false")
    private Boolean highValue;
    @Schema(description = "重量", example = "0.5")
    private BigDecimal weight;
    @Schema(description = "备注", example = "备注信息")
    private String remark;
}