Update PmsProductAttributeParam.java
This commit is contained in:
parent
4c56de4506
commit
79988715b5
@ -2,6 +2,8 @@ package com.macro.mall.dto;
|
|||||||
|
|
||||||
import com.macro.mall.validator.FlagValidator;
|
import com.macro.mall.validator.FlagValidator;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
|
||||||
@ -9,6 +11,8 @@ import javax.validation.constraints.NotEmpty;
|
|||||||
* 商品属性参数
|
* 商品属性参数
|
||||||
* Created by macro on 2018/4/26.
|
* Created by macro on 2018/4/26.
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class PmsProductAttributeParam {
|
public class PmsProductAttributeParam {
|
||||||
@ApiModelProperty("属性分类ID")
|
@ApiModelProperty("属性分类ID")
|
||||||
@NotEmpty(message = "属性分类不能为空")
|
@NotEmpty(message = "属性分类不能为空")
|
||||||
@ -41,92 +45,4 @@ public class PmsProductAttributeParam {
|
|||||||
@ApiModelProperty("属性的类型;0->规格;1->参数")
|
@ApiModelProperty("属性的类型;0->规格;1->参数")
|
||||||
@FlagValidator({"0","1"})
|
@FlagValidator({"0","1"})
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
|
||||||
public Long getProductAttributeCategoryId() {
|
|
||||||
return productAttributeCategoryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setProductAttributeCategoryId(Long productAttributeCategoryId) {
|
|
||||||
this.productAttributeCategoryId = productAttributeCategoryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(String name) {
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getSelectType() {
|
|
||||||
return selectType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSelectType(Integer selectType) {
|
|
||||||
this.selectType = selectType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getInputType() {
|
|
||||||
return inputType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setInputType(Integer inputType) {
|
|
||||||
this.inputType = inputType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getInputList() {
|
|
||||||
return inputList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setInputList(String inputList) {
|
|
||||||
this.inputList = inputList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getSort() {
|
|
||||||
return sort;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSort(Integer sort) {
|
|
||||||
this.sort = sort;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getFilterType() {
|
|
||||||
return filterType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFilterType(Integer filterType) {
|
|
||||||
this.filterType = filterType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getSearchType() {
|
|
||||||
return searchType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSearchType(Integer searchType) {
|
|
||||||
this.searchType = searchType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getRelatedStatus() {
|
|
||||||
return relatedStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRelatedStatus(Integer relatedStatus) {
|
|
||||||
this.relatedStatus = relatedStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getHandAddStatus() {
|
|
||||||
return handAddStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setHandAddStatus(Integer handAddStatus) {
|
|
||||||
this.handAddStatus = handAddStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getType() {
|
|
||||||
return type;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setType(Integer type) {
|
|
||||||
this.type = type;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user