namespace TMSDAL.DTO.TrainerProfile
{
public class TrainerProfileDTO
{
// =========================================================
// PRIMARY KEY
// =========================================================
public int TrainerId { get; set; }
// =========================================================
// BASIC INFORMATION
// =========================================================
public string TrainerCode { get; set; } = string.Empty;
public string TrainerName { get; set; } = string.Empty;
public string TrainerFullName { get; set; } = string.Empty;
///
/// 1 = Internal Trainer
/// 2 = External Trainer
///
public byte TrainerType { get; set; }
// =========================================================
// INTERNAL / EXTERNAL MAPPING
// =========================================================
public int? EmployeeId { get; set; }
public int? ExternalVendorId { get; set; }
public string? VendorCode { get; set; }
public string? VendorName { get; set; }
// =========================================================
// TRAINING SPECIALISATION
// =========================================================
public string? Specialisations { get; set; }
///
/// Comma separated Programme Ids
///
public string? QualifiedProgrammeIds { get; set; }
public string? ProgrammeCode { get; set; }
public string? ProgrammeTitle { get; set; }
// =========================================================
// TRAINING CAPACITY
// =========================================================
public int MaxSessionsPerMonth { get; set; } = 0;
// =========================================================
// CONTACT INFORMATION
// =========================================================
public string? Email { get; set; }
public string? Phone { get; set; }
public int? ContactId { get; set; }
public string? ContactName { get; set; }
// =========================================================
// STATUS
// =========================================================
public byte IsActive { get; set; } = 1;
public string? Remarks { get; set; }
// =========================================================
// SYSTEM FIELDS
// =========================================================
public short Version { get; set; } = 1;
public byte Status { get; set; } = 1;
public short SortOrder { get; set; } = 1;
// =========================================================
// AUDIT FIELDS
// =========================================================
public int CreatedById { get; set; }
public DateTime? CreatedOn { get; set; }
public int ModifiedById { get; set; }
public DateTime? ModifiedOn { get; set; }
// =========================================================
// MULTI TENANT
// =========================================================
public byte SourceType { get; set; } = 5;
public int TenantId { get; set; }
}
// =============================================================
// PICKLIST DTO
// =============================================================
public class TrainerProfilePicklistDTO
{
public int TrainerId { get; set; }
public string TrainerCode { get; set; } = string.Empty;
public string TrainerFullName { get; set; } = string.Empty;
}
}