|
@@ -2,30 +2,18 @@ package com.macro.mall.dto;
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
|
|
/**
|
|
|
* 商品分类对应属性信息
|
|
|
* Created by macro on 2018/5/23.
|
|
|
*/
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
public class ProductAttrInfo {
|
|
|
@ApiModelProperty("商品属性ID")
|
|
|
private Long attributeId;
|
|
|
@ApiModelProperty("商品属性分类ID")
|
|
|
private Long attributeCategoryId;
|
|
|
-
|
|
|
- public Long getAttributeId() {
|
|
|
- return attributeId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAttributeId(Long attributeId) {
|
|
|
- this.attributeId = attributeId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getAttributeCategoryId() {
|
|
|
- return attributeCategoryId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAttributeCategoryId(Long attributeCategoryId) {
|
|
|
- this.attributeCategoryId = attributeCategoryId;
|
|
|
- }
|
|
|
}
|