|
@@ -2,6 +2,8 @@ package com.macro.mall.dto;
|
|
|
|
|
|
import com.macro.mall.validator.FlagValidator;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
|
|
import javax.validation.constraints.Min;
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
@@ -11,6 +13,8 @@ import java.util.List;
|
|
|
* 添加更新产品分类的参数
|
|
|
* Created by macro on 2018/4/26.
|
|
|
*/
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
public class PmsProductCategoryParam {
|
|
|
@ApiModelProperty("父分类的编号")
|
|
|
private Long parentId;
|
|
@@ -36,84 +40,4 @@ public class PmsProductCategoryParam {
|
|
|
private String description;
|
|
|
@ApiModelProperty("产品相关筛选属性集合")
|
|
|
private List<Long> productAttributeIdList;
|
|
|
-
|
|
|
- public Long getParentId() {
|
|
|
- return parentId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setParentId(Long parentId) {
|
|
|
- this.parentId = parentId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getName() {
|
|
|
- return name;
|
|
|
- }
|
|
|
-
|
|
|
- public void setName(String name) {
|
|
|
- this.name = name;
|
|
|
- }
|
|
|
-
|
|
|
- public String getProductUnit() {
|
|
|
- return productUnit;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProductUnit(String productUnit) {
|
|
|
- this.productUnit = productUnit;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getNavStatus() {
|
|
|
- return navStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setNavStatus(Integer navStatus) {
|
|
|
- this.navStatus = navStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getShowStatus() {
|
|
|
- return showStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setShowStatus(Integer showStatus) {
|
|
|
- this.showStatus = showStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getSort() {
|
|
|
- return sort;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSort(Integer sort) {
|
|
|
- this.sort = sort;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIcon() {
|
|
|
- return icon;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIcon(String icon) {
|
|
|
- this.icon = icon;
|
|
|
- }
|
|
|
-
|
|
|
- public String getKeywords() {
|
|
|
- return keywords;
|
|
|
- }
|
|
|
-
|
|
|
- public void setKeywords(String keywords) {
|
|
|
- this.keywords = keywords;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDescription() {
|
|
|
- return description;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDescription(String description) {
|
|
|
- this.description = description;
|
|
|
- }
|
|
|
-
|
|
|
- public List<Long> getProductAttributeIdList() {
|
|
|
- return productAttributeIdList;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProductAttributeIdList(List<Long> productAttributeIdList) {
|
|
|
- this.productAttributeIdList = productAttributeIdList;
|
|
|
- }
|
|
|
}
|