forked from luyan/epmet-cloud-lingshan
17 changed files with 408 additions and 28 deletions
@ -0,0 +1,31 @@ |
|||
package com.epmet.resi.group.dto.act.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 018、获取签到码图片 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/21 18:01 |
|||
*/ |
|||
@Data |
|||
public class BuildSignInCodeFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2806512125925383053L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
@NotBlank(message = "groupActId不能为空", groups = AddUserInternalGroup.class) |
|||
private String groupActId; |
|||
|
|||
/** |
|||
* 当前用户id |
|||
*/ |
|||
@NotBlank(message = "tokenDto获取userId为空", groups = AddUserInternalGroup.class) |
|||
private String userId; |
|||
|
|||
private String customerId; |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.epmet.resi.group.dto.act.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* 018、获取签到码图片 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/21 18:13 |
|||
*/ |
|||
@Data |
|||
public class BuildSignInCodeResultDTO { |
|||
private String signInCodeUrl; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.resi.group.dto.notice.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/4/21 下午4:17 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class UnReadListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 2312033892813352767L; |
|||
|
|||
public interface UnReadListForm{} |
|||
|
|||
@NotBlank(message = "小组ID不能为空",groups = UnReadListForm.class) |
|||
private String groupId; |
|||
|
|||
private String userId; |
|||
} |
@ -0,0 +1,55 @@ |
|||
package com.epmet.resi.group.dto.notice.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/4/21 下午4:21 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class UnReadListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2614612434488988741L; |
|||
|
|||
/** |
|||
* 话题、通知、活动Id |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 发布者的全称(街道-姓氏先生/女士)【专项组显示真实名】 |
|||
*/ |
|||
private String releaseUserName; |
|||
|
|||
/** |
|||
* 话题发布者的头像Url |
|||
*/ |
|||
private String releaseUserHeadPhoto; |
|||
|
|||
/** |
|||
* 发布时间yyyy-MM-dd HH:mm |
|||
*/ |
|||
private String releaseTime; |
|||
|
|||
/** |
|||
* 内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 如果有图片,后台只返回第一张,没有图片此列为空 |
|||
*/ |
|||
private String firstPhoto; |
|||
|
|||
/** |
|||
* 数据类型(topic:话题 notice:通知 act:活动) |
|||
*/ |
|||
private String contentType; |
|||
|
|||
@JsonIgnore |
|||
private String userId; |
|||
} |
Loading…
Reference in new issue