using Marco.Pms.Model.Employees;
using Marco.Pms.Model.Utilities;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations.Schema;

namespace Marco.Pms.Model.Master
{
    public class StatusUpdateLog : TenantRelation
    {
        public Guid Id { get; set; }
        public Guid? StatusId { get; set; }
        public Guid NextStatusId { get; set; }
        public Guid EntityId { get; set; }
        public string? Comment { get; set; }
        public DateTime UpdatedAt { get; set; }
        public Guid UpdatedById { get; set; }

        [ValidateNever]
        [ForeignKey("UpdatedById")]
        public Employee? UpdatedBy { get; set; }
    }
}
