29 lines
1 KiB
C#
29 lines
1 KiB
C#
// Domain/Entities/Training.cs
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
using Volo.Abp.MultiTenancy;
|
|
|
|
namespace Erp.Platform.Entities;
|
|
|
|
public class Training : FullAuditedEntity<Guid>, IMultiTenant
|
|
{
|
|
public Guid? TenantId { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public string Instructor { get; set; }
|
|
public string Category { get; set; } // technical | soft-skills | management | compliance | other
|
|
public string Type { get; set; } // online | classroom | hybrid
|
|
public int Duration { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
public int MaxParticipants { get; set; }
|
|
public int Enrolled { get; set; }
|
|
public string Status { get; set; } // upcoming | ongoing | completed
|
|
public string Location { get; set; }
|
|
public string Thumbnail { get; set; }
|
|
|
|
public ICollection<Certificate> Certificates { get; set; }
|
|
}
|
|
|