53 lines
1.4 KiB
C#
53 lines
1.4 KiB
C#
namespace YD_Event.Application.Event.Dtos;
|
|
|
|
public class EventRecordPageInput : Pagination
|
|
{
|
|
/// <summary>
|
|
/// 普通用户ID
|
|
/// </summary>
|
|
public long? AppUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商户ID
|
|
/// </summary>
|
|
public long? MerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 赛事名称
|
|
/// </summary>
|
|
public string? EventName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 报名状态
|
|
/// </summary>
|
|
public int? RegistrationStatus { get; set; }
|
|
|
|
public DateTime? StartTime { get; set; }
|
|
public DateTime? EndTime { get; set; }
|
|
}
|
|
|
|
public class EventRecordOutput
|
|
{
|
|
public long Id { get; set; } // Registration ID
|
|
public string EventName { get; set; }
|
|
public string EventType { get; set; } // Online/Offline
|
|
public DateTime StartTime { get; set; }
|
|
public DateTime EndTime { get; set; }
|
|
public int RegistrationStatus { get; set; }
|
|
public long EventId { get; set; }
|
|
|
|
// Additional fields for admin view
|
|
public string ContactName { get; set; }
|
|
public string ContactPhone { get; set; }
|
|
public string TeamName { get; set; }
|
|
}
|
|
|
|
public class CertificateOutput
|
|
{
|
|
public long Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string AwardLevel { get; set; }
|
|
public string CertificateType { get; set; }
|
|
public string ImageUrl { get; set; }
|
|
}
|