增加 c 端读取商品分类的接口
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package cn.iocoder.mall.productservice.rpc.category.dto;
|
||||
|
||||
import cn.iocoder.common.framework.enums.CommonStatusEnum;
|
||||
import cn.iocoder.common.framework.validator.InEnum;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@@ -16,5 +18,10 @@ public class ProductCategoryListQueryReqDTO implements Serializable {
|
||||
* 父编号
|
||||
*/
|
||||
private Integer pid;
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@InEnum(value = CommonStatusEnum.class, message = "状态必须是 {value}")
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user