80 lines
2.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.yzt.common.response;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 商品属性值响应对象
*
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AttrValueResponse对象", description="商品属性值响应对象")
public class AttrValueResponse implements Serializable {
private static final long serialVersionUID=1L;
@ApiModelProperty(value = "ID")
private Integer id;
@ApiModelProperty(value = "商品ID")
private Integer productId;
@ApiModelProperty(value = "sku")
private String suk;
@ApiModelProperty(value = "属性对应的库存")
private Integer stock;
@ApiModelProperty(value = "销量")
private Integer sales;
@ApiModelProperty(value = "属性金额")
private BigDecimal price;
@ApiModelProperty(value = "图片")
private String image;
@ApiModelProperty(value = "成本价")
private BigDecimal cost;
@ApiModelProperty(value = "原价")
private BigDecimal otPrice;
@ApiModelProperty(value = "重量")
private BigDecimal weight;
@ApiModelProperty(value = "体积")
private BigDecimal volume;
@ApiModelProperty(value = "一级返佣")
private BigDecimal brokerage;
@ApiModelProperty(value = "二级返佣")
private BigDecimal brokerageTwo;
@ApiModelProperty(value = "活动类型 0=商品,1=秒杀,2=砍价,3=拼团")
private Integer type;
@ApiModelProperty(value = "活动限购数量")
private Integer quota;
@ApiModelProperty(value = "活动限购数量显示")
private Integer quotaShow;
@ApiModelProperty(value = "attrValue字段")
private String attrValue;
@ApiModelProperty(value = "砍价商品最低价|砍价专用字段")
private BigDecimal minPrice;
@ApiModelProperty(value = "商品条码")
private String barCode;
}