@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-10-03T01:49:11.617+08:00") public class RelationParams extends Object
| Constructor and Description |
|---|
RelationParams() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static RelationParams |
fromString(String json)
Convert the given JSON string to object of class
RelationParams. |
Long |
getGoodsId()
商品id
|
List<Long> |
getMappingGoodsIds()
映射商品id
|
int |
hashCode() |
void |
setGoodsId(Long goodsId) |
void |
setMappingGoodsIds(List<Long> mappingGoodsIds) |
String |
toString() |
RelationParams |
withGoodsId(Long goodsId) |
RelationParams |
withMappingGoodsIds(List<Long> mappingGoodsIds) |
RelationParams |
withMappingGoodsIdsAdd(Long mappingGoodsIds) |
public RelationParams withGoodsId(Long goodsId)
public Long getGoodsId()
public void setGoodsId(Long goodsId)
public RelationParams withMappingGoodsIds(List<Long> mappingGoodsIds)
public RelationParams withMappingGoodsIdsAdd(Long mappingGoodsIds)
public static RelationParams fromString(String json) throws IOException
RelationParams.IOExceptionCopyright © 2019. All rights reserved.