namespace TMSDAL.DTO.TrainingInstance { public class TrainingInstanceDTO { public int InstanceId { get; set; } public string InstanceCode { get; set; } = string.Empty; public string InstanceTitle { get; set; } = string.Empty; public int ProgrammeId { get; set; } public string ProgrammeCode { get; set; } = string.Empty; public string ProgrammeTitle { get; set; } = string.Empty; public int? TrainingNeedId { get; set; } public string NeedCode { get; set; } = string.Empty; public string NeedTitle { get; set; } = string.Empty; public int? TrainingDomainId { get; set; } public string DomainCode { get; set; } = string.Empty; public string DomainName { get; set; } = string.Empty; public byte InstanceStatus { get; set; } public DateTime PlannedStartDate { get; set; } public DateTime PlannedEndDate { get; set; } public DateTime? ActualStartDate { get; set; } public DateTime? ActualEndDate { get; set; } public byte TrainerType { get; set; } public int? PrimaryTrainerId { get; set; } public string TrainerName { get; set; } = string.Empty; public string TrainerFullName { get; set; } = string.Empty; public int? VenueId { get; set; } public string VenueCode { get; set; } = string.Empty; public string VenueName { get; set; } = string.Empty; public int MaxCapacity { get; set; } public int MinCapacity { get; set; } public int EnrolledCount { get; set; } public decimal CostPerParticipant { get; set; } public string? BatchNote { get; set; } public short Version { get; set; } public byte Status { get; set; } public short SortOrder { get; set; } public int CreatedById { get; set; } public DateTime CreatedOn { get; set; } public int ModifiedById { get; set; } public DateTime ModifiedOn { get; set; } public byte SourceType { get; set; } public int TenantId { get; set; } public List Sessions { get; set; } = new(); public InstanceDeliveryConfigDTO? DeliveryConfig { get; set; } } } public class TrainingInstanceListDTO { public int InstanceId { get; set; } public string InstanceCode { get; set; } = string.Empty; public string InstanceTitle { get; set; } = string.Empty; public int ProgrammeId { get; set; } public byte InstanceStatus { get; set; } public DateTime PlannedStartDate { get; set; } public DateTime PlannedEndDate { get; set; } public int EnrolledCount { get; set; } public int MinCapacity { get; set; } public int MaxCapacity { get; set; } public int? PrimaryTrainerId { get; set; } public string? PrimaryTrainerName { get; set; } public int? VenueId { get; set; } public string? VenueName { get; set; } }