diff --git a/epmet-module/resi-group/resi-group-client/src/main/java/com/epmet/resi/group/dto/group/form/MemExitGroupFormDTO.java b/epmet-module/resi-group/resi-group-client/src/main/java/com/epmet/resi/group/dto/group/form/MemExitGroupFormDTO.java new file mode 100644 index 0000000000..babcea3675 --- /dev/null +++ b/epmet-module/resi-group/resi-group-client/src/main/java/com/epmet/resi/group/dto/group/form/MemExitGroupFormDTO.java @@ -0,0 +1,41 @@ +package com.epmet.resi.group.dto.group.form; + +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +/** + * 组员自主退群 + * + * @author yinzuomei@elink-cn.com + * @date 2021/4/30 15:06 + */ +@Data +public class MemExitGroupFormDTO implements Serializable { + + + private static final long serialVersionUID = 3614704443675949069L; + + public interface AddUserInternalGroup { + } + + /** + * 小组ID + */ + @NotBlank(message = "小组Id不能为空", groups = AddUserInternalGroup.class) + private String groupId; + + + /** + * 当前客户id + */ + @NotBlank(message = "tokenDto获取customerId不能为空", groups = AddUserInternalGroup.class) + private String customerId; + + /** + * 当前用户id + */ + @NotBlank(message = "tokenDto获取userId不能为空", groups = AddUserInternalGroup.class) + private String userId; +}