8 changed files with 138 additions and 2 deletions
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.google.gson.internal.$Gson$Types; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/12/9 下午3:25 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AddTagFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -3245317956853388308L; |
||||
|
|
||||
|
public interface AddTag{} |
||||
|
|
||||
|
@NotBlank(message = "标签名称不能为空",groups = AddTag.class) |
||||
|
private String tagName; |
||||
|
|
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/12/9 下午5:09 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
public class AddTagResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 4769136806332933579L; |
||||
|
|
||||
|
private String tagId; |
||||
|
|
||||
|
public AddTagResultDTO() { |
||||
|
this.tagId = ""; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue