标签管理增删改查
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.cool.store.dto.label;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Fun Li 2023/8/10 16:43
|
||||
* @version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class LabelDeleteDTO {
|
||||
|
||||
@ApiModelProperty(value = "标签id", required = true)
|
||||
private Long id;
|
||||
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.dto.label;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -8,4 +9,14 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class LabelUpdateDTO {
|
||||
|
||||
@ApiModelProperty(value = "标签id", required = true)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "标签名称", required = true)
|
||||
private String labelName;
|
||||
|
||||
@ApiModelProperty(value = "标签组id", required = true)
|
||||
private Long labelGroupId;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user