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 MdmItemModelRespDTO {
|
|
@Schema(description = "型号编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long id;
|
|
@Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Long itemId;
|
|
@Schema(description = "型号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "4米/根")
|
private String model;
|
|
@Schema(description = "型号计量单位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "7")
|
private Long unitMeasureId;
|
|
@Schema(description = "换算比率:1 型号单位 = N 物料主单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "4")
|
private BigDecimal unitMeasureRate;
|
|
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
|
private Integer status;
|
|
@Schema(description = "备注", example = "备注信息")
|
private String remark;
|
|
}
|