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 物料 SKU Response DTO")
|
@Data
|
public class MdmItemSkuRespDTO {
|
|
@Schema(description = "SKU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long id;
|
|
@Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long itemId;
|
|
@Schema(description = "SKU 编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "SKU001")
|
private String code;
|
|
@Schema(description = "SKU 名称", example = "规格A")
|
private String name;
|
|
@Schema(description = "SKU 条码", example = "12345678")
|
private String barCode;
|
|
@Schema(description = "长度(cm)", example = "10")
|
private BigDecimal length;
|
|
@Schema(description = "宽度(cm)", example = "5")
|
private BigDecimal width;
|
|
@Schema(description = "高度(cm)", example = "2")
|
private BigDecimal height;
|
|
@Schema(description = "毛重(kg)", example = "0.5")
|
private BigDecimal grossWeight;
|
|
@Schema(description = "净重(kg)", example = "0.4")
|
private BigDecimal netWeight;
|
|
@Schema(description = "成本价", example = "8.00")
|
private BigDecimal costPrice;
|
|
@Schema(description = "销售价", example = "15.00")
|
private BigDecimal salePrice;
|
|
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
private Integer status;
|
|
}
|