package com.qnfhq.modules.c2c.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;


/**
 * 用户消息关联表
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-25
 */
@Data
@Schema(name = "用户消息关联表")
public class C2cMsgRelationDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "返回大于消息编号数据")
	private Long mid;

	@SchemaProperty(name = "对方编号")
    @NotNull(message="{NotNull.otherUid}")//对方编号不能为空
	private Long otherUid;

    @SchemaProperty(name = "页码")
    private String pageNum;

    @SchemaProperty(name = "每页条数")
    private String pageSize;
}
