feat(商城): 代码优化
parent
d374feb44e
commit
8bfc592d07
@ -0,0 +1,25 @@
|
||||
package com.wayn.common.core.domain.shop.vo;
|
||||
|
||||
import com.wayn.common.core.domain.shop.Goods;
|
||||
import com.wayn.common.core.domain.shop.GoodsAttribute;
|
||||
import com.wayn.common.core.domain.shop.GoodsProduct;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author: waynaqua
|
||||
* @date: 2023/11/7 22:40
|
||||
*/
|
||||
@Data
|
||||
public class GoodsDetailResponseVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = -4222874009558306929L;
|
||||
|
||||
private Goods info;
|
||||
private List<SpecificationVO> specificationList;
|
||||
private List<GoodsProduct> productList;
|
||||
private List<GoodsAttribute> attributes;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.wayn.common.core.domain.shop.vo;
|
||||
|
||||
import com.wayn.common.core.domain.shop.GoodsSpecification;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SpecificationVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 950869220112646783L;
|
||||
private String name;
|
||||
private List<GoodsSpecification> valueList;
|
||||
|
||||
}
|
Loading…
Reference in New Issue