8 changed files with 159 additions and 2 deletions
@ -0,0 +1,11 @@ |
|||||
|
package com.epmet.resi.group.constant; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/12/18 上午10:53 |
||||
|
*/ |
||||
|
public interface TopicShareConstant { |
||||
|
|
||||
|
String NOT_EXIST_TOPIC_INFO = "未查到该话题信息......"; |
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.resi.group.dto.topic.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/12/18 上午10:02 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CreateUrlFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -7661839148530902018L; |
||||
|
|
||||
|
public interface CreateUrlForm{} |
||||
|
|
||||
|
/** |
||||
|
* 话题ID |
||||
|
*/ |
||||
|
@NotBlank(message = "话题ID不能为空",groups = {CreateUrlForm.class}) |
||||
|
private String topicId; |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.resi.group.dto.topic.result; |
||||
|
|
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/12/18 上午10:01 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
public class CreateUrlResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -8606257390921799432L; |
||||
|
|
||||
|
/** |
||||
|
* 分享链接ID |
||||
|
*/ |
||||
|
private String shareLinkId; |
||||
|
} |
Loading…
Reference in new issue