@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-10-03T01:49:11.617+08:00") public class GoodsPage extends Object
| Constructor and Description |
|---|
GoodsPage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static GoodsPage |
fromString(String json)
Convert the given JSON string to object of class
GoodsPage. |
@Valid List<GoodsRecord> |
getGoodsRecords()
商品记录
|
Long |
getTotal()
总条数
|
int |
hashCode() |
void |
setGoodsRecords(List<GoodsRecord> goodsRecords) |
void |
setTotal(Long total) |
String |
toString() |
GoodsPage |
withGoodsRecords(List<GoodsRecord> goodsRecords) |
GoodsPage |
withGoodsRecordsAdd(GoodsRecord goodsRecords) |
GoodsPage |
withTotal(Long total) |
public GoodsPage withGoodsRecords(List<GoodsRecord> goodsRecords)
public GoodsPage withGoodsRecordsAdd(GoodsRecord goodsRecords)
@Valid public @Valid List<GoodsRecord> getGoodsRecords()
public void setGoodsRecords(List<GoodsRecord> goodsRecords)
public Long getTotal()
public void setTotal(Long total)
public static GoodsPage fromString(String json) throws IOException
GoodsPage.IOExceptionCopyright © 2019. All rights reserved.