30 lines
661 B
C#
30 lines
661 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Profile.Service.Models.HR
|
|
{
|
|
public class ProfileCoupleHistory
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(50)]
|
|
public string Prefix { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(100)]
|
|
public string FirstName { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(100)]
|
|
public string LastName { get; set; }
|
|
|
|
[MaxLength(100)]
|
|
public string Career { get; set; }
|
|
|
|
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
|
|
|
public Profile Profile { get; set; }
|
|
}
|
|
}
|