namespace QYZH.InteractiveMagazine.Models.Dto;
///
/// Users查询输入DTO
///
public class UsersQueryInput : PageQueryModel
{
///
/// 微信用户ID
///
public string? WxUserId { get; set; }
}
///
/// Users输出DTO (基本信息)
///
public class UsersOutput
{
///
/// 主键ID
///
public long Id { get; set; }
///
/// 微信用户ID
///
public string WxUserId { get; set; } = string.Empty;
///
/// 微信用户名
///
public string? WxUserName { get; set; }
///
/// 昵称
///
public string Name { get; set; } = string.Empty;
///
/// 头像地址
///
public string? AvatarUrl { get; set; }
///
/// 积分余额
///
public int Points { get; set; }
///
/// 用户类型
///
public string Type { get; set; } = string.Empty;
///
/// 状态
///
public string Status { get; set; } = string.Empty;
///
/// 当前成长值
///
public int GrowthPoints { get; set; }
///
/// 用户作答信息上传地址
///
public string UploadDomain { get; set; } = string.Empty;
}
///
/// 用户详情输出DTO(仅基本信息)
///
public class UserDetailOutput
{
///
/// 用户基本信息
///
public UsersOutput BasicInfo { get; set; } = new();
}
///
/// 用户期刊项输出DTO
///
public class UserJournalItemOutput
{
///
/// 绑定记录Id
///
public long BindId { get; set; }
///
/// 期刊Id
///
public long JournalId { get; set; }
///
/// 期刊标题
///
public string Name { get; set; } = string.Empty;
///
/// 期刊封面
///
public string? CoverImageUrl { get; set; }
///
/// 绑定类型: Read, Favorite, Subscribe
///
public string Type { get; set; } = string.Empty;
///
/// 绑定状态
///
public string Status { get; set; } = string.Empty;
///
/// 绑定时间
///
public DateTime CreatedAt { get; set; }
}
///
/// 更新用户状态输入DTO
///
public class UpdateUserStatusInput
{
///
/// 用户状态: 1-启用, 2-冻结
///
public int Status { get; set; }
}