public class ProductStatsInfo extends Object
Modifier and Type | Field and Description |
---|---|
private long |
brutto
Sum by brutto for sold products.
|
private long |
count
Amount of sold product units.
|
private String |
identifier |
private String |
name |
private SalesUnit |
salesUnit
Sales unit type (i.e. kilogram or piece).
|
Constructor and Description |
---|
ProductStatsInfo() |
ProductStatsInfo(String identifier,
String name,
long count,
long brutto,
SalesUnit salesUnit) |
@NotNull @Size(max=50, min=1) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String identifier
@NotNull @Size(max=32, min=1) private String name
@Min(value=0L) private long count
@Min(value=0L) private long brutto
@NotNull private SalesUnit salesUnit
Copyright © 2015. All rights reserved.