34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using BMA.EHR.Report.Service.Models;
|
|
|
|
namespace BMA.EHR.Profile.Service.Models.HR
|
|
{
|
|
public class ProfileTraining : EntityBase
|
|
{
|
|
[MaxLength(100)]
|
|
public string? Subject { get; set; }
|
|
[Column(TypeName = "text")]
|
|
public string? Detail { get; set; }
|
|
[MaxLength(200)]
|
|
public string? Host { get; set; }
|
|
[MaxLength(200)]
|
|
public string? ClassName { get; set; }
|
|
[MaxLength(200)]
|
|
public string? Place { get; set; }
|
|
[MaxLength(50)]
|
|
public string? Reference { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { get; set; }
|
|
// public string? Course { get; set; }
|
|
// public DateTime? Start { get; set; }
|
|
// public DateTime? End { get; set; }
|
|
// public string? Location { get; set; }
|
|
// public string? Detail { get; set; }
|
|
// public string? Organize { get; set; }
|
|
// public string? Gen { get; set; }
|
|
public virtual List<ProfileTrainingHistory> ProfileTrainingHistorys { get; set; } = new List<ProfileTrainingHistory>();
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
}
|