dev798
parent
1a26d23135
commit
25ada3932d
|
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||
import lombok.Data;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
|
@ -14,21 +15,21 @@ import java.util.Map;
|
|||
*/
|
||||
@Data
|
||||
@ApiModel(value = "ProductSku", description = "商品SKU信息")
|
||||
public class ProductSku extends BaseEntity {
|
||||
public class ProductSku extends HashMap {
|
||||
|
||||
@ApiModelProperty(value = "SKU Id")
|
||||
private BigInteger id;
|
||||
@ApiModelProperty(value = "SKUId",required = true)
|
||||
private long id;
|
||||
|
||||
@ApiModelProperty(value = "销售价格")
|
||||
@ApiModelProperty(value = "销售价格",required = true)
|
||||
private Double salePrice;
|
||||
|
||||
@ApiModelProperty(value = "促销价格")
|
||||
@ApiModelProperty(value = "促销价格",required = true)
|
||||
private Double promotionPrice;
|
||||
|
||||
@ApiModelProperty(value = "库存")
|
||||
@ApiModelProperty(value = "库存",required = true)
|
||||
private Integer stock;
|
||||
|
||||
@ApiModelProperty(value = "预警库存")
|
||||
@ApiModelProperty(value = "预警库存",required = true)
|
||||
private Integer stockAlert;
|
||||
|
||||
@ApiModelProperty(value = "商品Id")
|
||||
|
@ -37,12 +38,17 @@ public class ProductSku extends BaseEntity {
|
|||
@ApiModelProperty(value = "SKU背景图地址")
|
||||
private String bgImg;
|
||||
|
||||
private Map<String, Integer> attributes;
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createBy;
|
||||
|
||||
@ApiModelProperty(value = "商品销售属性,json格式")
|
||||
private String spData;
|
||||
@ApiModelProperty(value= "创建时间")
|
||||
private String createTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private String updateTime;
|
||||
|
||||
@ApiModelProperty(value = "是否删除 0-是 1-否")
|
||||
private int isDelete;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -33,9 +33,5 @@ public class ProductSkuAttr extends BaseEntity {
|
|||
@ApiModelProperty(value = "类型:0-属性,1-参数")
|
||||
private Integer flag;
|
||||
|
||||
private Integer pageSize=5;
|
||||
|
||||
private Integer pageNum=1;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.muyu.product.domain.Resp;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
|
@ -8,6 +9,7 @@ import lombok.Data;
|
|||
* @Date: 2024/4/1 11:19
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "ProductTypeResp", description = "类型返回值")
|
||||
public class ProductTypeResp {
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package com.muyu.product.domain.req;
|
||||
|
||||
import com.muyu.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
|
@ -9,6 +10,7 @@ import lombok.Data;
|
|||
* @Date: 2024/3/29 20:00
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "ProductSkuNew", description = "ProductSkuNew")
|
||||
public class ProductSkuNew extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "SKUId")
|
||||
|
|
|
@ -58,6 +58,6 @@ public class ProductTypeAttrReq extends BaseEntity {
|
|||
private Integer manualOperation;
|
||||
|
||||
@ApiModelProperty(value = "添加类型得具体值")
|
||||
private List<ProductTypeAttrValue> productTypeAttrValueList;
|
||||
private String productTypeAttrValueList;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.muyu.product.domain.req;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
|
@ -7,6 +8,7 @@ import lombok.Data;
|
|||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/29 19:58
|
||||
*/
|
||||
@ApiModel(value = "QueryProductReq", description = "接收到的参数值")
|
||||
@Data
|
||||
public class QueryProductReq {
|
||||
|
||||
|
|
Loading…
Reference in New Issue