package com.yaoyuan.jiscuss.dto;

import java.util.Date;

/**
 * Read-only user projection exposed to the frontend / API consumers.
 * Never exposes the {@code password} field.
 */
public record UserResponse(
        Integer id,
        String username,
        String realname,
        String email,
        String avatar,
        String gender,
        String phone,
        Integer age,
        Integer discussionsCount,
        Integer commentsCount,
        Date joinTime,
        Date lastSeenTime,
        Integer level
) {}
