mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
docs(PmsGoodsDetailVO.java): 商品详情视图对象注释添加
This commit is contained in:
parent
f46d4ff9a7
commit
3cf12a88f6
@ -1,9 +1,10 @@
|
|||||||
package com.youlai.mall.pms.pojo.vo.admin;
|
package com.youlai.mall.pms.pojo.vo;
|
||||||
|
|
||||||
import com.youlai.mall.pms.pojo.entity.PmsSku;
|
import com.youlai.mall.pms.pojo.entity.PmsSku;
|
||||||
import com.youlai.mall.pms.pojo.entity.PmsSpuAttributeValue;
|
import com.youlai.mall.pms.pojo.entity.PmsSpuAttributeValue;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.ToString;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -11,10 +12,11 @@ import java.util.List;
|
|||||||
* 商品详情视图对象
|
* 商品详情视图对象
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:xianrui0365@163.com">haoxr</a>
|
* @author <a href="mailto:xianrui0365@163.com">haoxr</a>
|
||||||
|
* @date 2022/3/13
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ToString
|
@ApiModel("商品详情视图对象")
|
||||||
public class GoodsDetailVO {
|
public class PmsGoodsDetailVO {
|
||||||
|
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@ -28,8 +30,10 @@ public class GoodsDetailVO {
|
|||||||
|
|
||||||
private Long price;
|
private Long price;
|
||||||
|
|
||||||
|
@ApiModelProperty("商品主图")
|
||||||
private String picUrl;
|
private String picUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty("商品副图")
|
||||||
private String[] subPicUrls;
|
private String[] subPicUrls;
|
||||||
|
|
||||||
private String description;
|
private String description;
|
Loading…
Reference in New Issue
Block a user