77 lines
2.5 KiB
C#

namespace YD_Event.Application.Event.Dtos;
public class RefereeApplicationOutput
{
public long ApplicationId { get; set; }
public long RefereeId { get; set; }
public string Name { get; set; } = null!;
public string RegionName { get; set; } = null!;
public string LevelName { get; set; } = null!;
public string CertificateUrl { get; set; } = null!;
public string Mobile { get; set; } = null!;
public int Roles { get; set; }
public List<string> RoleNames { get; set; } = new();
public DateTime CreatedTime { get; set; }
public int ApplicationStatus { get; set; }
public string ApplicationStatusName { get; set; } = null!;
public string? Remark { get; set; }
}
public class EventRefereeOutput : RefereeApplicationOutput
{
public long EventRefereeId { get; set; }
public int SourceType { get; set; }
public string SourceTypeName { get; set; } = null!;
}
public class JudgeAssignmentBoardOutput
{
public bool ArrangementConfirmed { get; set; }
public bool Submitted { get; set; }
public List<JudgeAssignmentProjectOutput> Projects { get; set; } = new();
}
public class JudgeAssignmentProjectOutput
{
public long EventProjectId { get; set; }
public string ProjectName { get; set; } = null!;
public string RuleName { get; set; } = null!;
public string JudgeRoleSchemaJson { get; set; } = "[]";
public List<JudgeAssignmentSessionOutput> Sessions { get; set; } = new();
}
public class JudgeAssignmentSessionOutput
{
public long SessionId { get; set; }
public string SessionName { get; set; } = null!;
public string VenueName { get; set; } = null!;
public bool Assigned { get; set; }
public List<JudgeAssignmentItemOutput> Assignments { get; set; } = new();
}
public class JudgeAssignmentItemOutput
{
public long EventRefereeId { get; set; }
public string JudgeRole { get; set; } = null!;
public string JudgeRoleName { get; set; } = null!;
public long RefereeId { get; set; }
public string RefereeName { get; set; } = null!;
public string Mobile { get; set; } = null!;
}
public class SaveJudgeAssignmentsInput
{
public long EventId { get; set; }
public long SessionId { get; set; }
public List<SaveJudgeAssignmentItem> Assignments { get; set; } = new();
}
public class SaveJudgeAssignmentItem
{
public string JudgeRole { get; set; } = null!;
public long EventRefereeId { get; set; }
public long RefereeId { get; set; }
}
public class SubmitJudgeAssignmentsInput { public long EventId { get; set; } }