19 lines
538 B
C#
19 lines
538 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Marco.Pms.Model.Employees;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
|
|
namespace Marco.Pms.Model.Directory
|
|
{
|
|
public class DirectoryUpdateLog
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid RefereanceId { get; set; }
|
|
public DateTime UpdateAt { get; set; } = DateTime.UtcNow;
|
|
public Guid UpdatedById { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("UpdatedById")]
|
|
public Employee? Employee { get; set; }
|
|
}
|
|
}
|