65 lines
2.0 KiB
C#
65 lines
2.0 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using YD_Event.Core.Enum;
|
|
|
|
namespace YD_Event.Application.Event.Dtos;
|
|
|
|
/// <summary>
|
|
/// 报名查询输入
|
|
/// </summary>
|
|
public class RegistrationQueryInput : Pagination
|
|
{
|
|
public long? EventId { get; set; }
|
|
public int? RegistrationMode { get; set; }
|
|
public string? UnitName { get; set; }
|
|
public string? UserName { get; set; }
|
|
public string? ContactPhone { get; set; }
|
|
public bool? IsUploadMaterial { get; set; }
|
|
public int? PaymentMethod { get; set; }
|
|
public int? PaymentStatus { get; set; }
|
|
public DateTime? RegistrationTimeStart { get; set; }
|
|
public DateTime? RegistrationTimeEnd { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 报名列表输出
|
|
/// </summary>
|
|
public class RegistrationListOutput
|
|
{
|
|
public long Id { get; set; }
|
|
public int RegistrationMode { get; set; }
|
|
public string? UnitName { get; set; }
|
|
public string ContactName { get; set; }
|
|
public string ContactPhone { get; set; }
|
|
public int TotalPersonCount { get; set; }
|
|
public bool IsUploadMaterial { get; set; }
|
|
public string? TeamLeaderInfo { get; set; }
|
|
public string? CoachInfo { get; set; }
|
|
public int PaymentMethod { get; set; }
|
|
public string? OrderNo { get; set; }
|
|
public decimal TotalAmount { get; set; }
|
|
public int PaymentStatus { get; set; }
|
|
public string? PaymentProofUrl { get; set; }
|
|
public DateTime RegistrationTime { get; set; }
|
|
public int RegistrationStatus { get; set; }
|
|
|
|
// 下拉详情
|
|
public List<RegistrationItemDetailDto>? Items { get; set; }
|
|
}
|
|
|
|
public class RegistrationItemDetailDto
|
|
{
|
|
public string ParticipantInfo { get; set; }
|
|
public string ProjectName { get; set; }
|
|
public string GroupName { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 批量审核输入
|
|
/// </summary>
|
|
public class BatchAuditInput
|
|
{
|
|
public List<long> Ids { get; set; }
|
|
public int RegistrationStatus { get; set; } // 2-Pass, 3-Reject
|
|
public string? ReviewRemark { get; set; }
|
|
}
|