7 changed files with 194 additions and 4 deletions
@ -0,0 +1,37 @@ |
|||
package com.epmet.resi.group.dto.topic.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 个人中心-我发表的话题-审核中列表-接口入参 |
|||
*/ |
|||
@Data |
|||
public class MyAuditingListFormDTO { |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空",groups = {MyAuditingListFormDTO.AuditingTopicForm.class}) |
|||
private String customerId; |
|||
/** |
|||
* 页码,从1开始 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0", groups = { MyAuditingListFormDTO.AuditingTopicForm.class }) |
|||
private Integer pageNo; |
|||
/** |
|||
* 页容量,默认10页 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0", groups = { MyAuditingListFormDTO.AuditingTopicForm.class }) |
|||
private Integer pageSize; |
|||
/** |
|||
* token中用户Id |
|||
*/ |
|||
private String userId; |
|||
|
|||
public interface AuditingTopicForm{} |
|||
|
|||
} |
@ -0,0 +1,49 @@ |
|||
package com.epmet.resi.group.dto.topic.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 个人中心-我发表的话题-审核中列表-接口返参 |
|||
*/ |
|||
@Data |
|||
public class MyAuditingListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -703102629653169023L; |
|||
|
|||
/** |
|||
* 话题草稿id |
|||
*/ |
|||
private String topicDraftId; |
|||
|
|||
/** |
|||
* 话题来源网格名称 |
|||
*/ |
|||
private String releaseGridName; |
|||
@JsonIgnore |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 发布时间戳 |
|||
*/ |
|||
private Long releaseTime; |
|||
|
|||
/** |
|||
* 话题内容 |
|||
*/ |
|||
private String topicContent; |
|||
|
|||
/** |
|||
* 小组名称 |
|||
*/ |
|||
private String releaseGroupName; |
|||
|
|||
/** |
|||
* 状态 |
|||
*/ |
|||
private String status; |
|||
|
|||
} |
Loading…
Reference in new issue