41 changed files with 613 additions and 68 deletions
@ -0,0 +1,23 @@ |
|||
package com.bx.implatform.dto; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import jakarta.validation.constraints.NotNull; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Blue |
|||
* @version 1.0 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "好友免打扰") |
|||
public class FriendDndDTO { |
|||
|
|||
@NotNull(message = "好友id不可为空") |
|||
@Schema(description = "好友用户id") |
|||
private Long friendId; |
|||
|
|||
@NotNull(message = "消息免打扰状态不可为空") |
|||
@Schema(description = "消息免打扰状态") |
|||
private Boolean isDnd; |
|||
|
|||
} |
|||
@ -0,0 +1,23 @@ |
|||
package com.bx.implatform.dto; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import jakarta.validation.constraints.NotNull; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Blue |
|||
* @version 1.0 |
|||
* @date 2025-02-23 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "群聊免打扰") |
|||
public class GroupDndDTO { |
|||
|
|||
@NotNull(message = "群id不可为空") |
|||
@Schema(description = "群组id") |
|||
private Long groupId; |
|||
|
|||
@NotNull(message = "免打扰状态不可为空") |
|||
@Schema(description = "免打扰状态") |
|||
private Boolean isDnd; |
|||
} |
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue