|
@@ -43,24 +43,29 @@ public class XmGoodsEntity extends TenantEntity {
|
|
|
private Long xmId;
|
|
private Long xmId;
|
|
|
|
|
|
|
|
@Schema(description = "类型")
|
|
@Schema(description = "类型")
|
|
|
|
|
+ @NotNull(message = "类型")
|
|
|
private String type;
|
|
private String type;
|
|
|
|
|
|
|
|
@Schema(description = "编号")
|
|
@Schema(description = "编号")
|
|
|
private String code;
|
|
private String code;
|
|
|
|
|
|
|
|
@Schema(description = "名称")
|
|
@Schema(description = "名称")
|
|
|
|
|
+ @NotNull(message = "名称")
|
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
|
|
@Schema(description = "规格型号")
|
|
@Schema(description = "规格型号")
|
|
|
private String model;
|
|
private String model;
|
|
|
|
|
|
|
|
@Schema(description = "单位")
|
|
@Schema(description = "单位")
|
|
|
|
|
+ @NotNull(message = "单位")
|
|
|
private String unit;
|
|
private String unit;
|
|
|
|
|
|
|
|
@Schema(description = "单价(元)")
|
|
@Schema(description = "单价(元)")
|
|
|
|
|
+ @NotNull(message = "单价(元)")
|
|
|
private BigDecimal unitPrice;
|
|
private BigDecimal unitPrice;
|
|
|
|
|
|
|
|
@Schema(description = "领用数量")
|
|
@Schema(description = "领用数量")
|
|
|
|
|
+ @NotNull(message = "领用数量")
|
|
|
private Double useQuantity;
|
|
private Double useQuantity;
|
|
|
|
|
|
|
|
@Schema(description = "金额")
|
|
@Schema(description = "金额")
|