using Marco.Pms.Model.DocumentManager; 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.ServiceProject { public class JobAttendanceLog : TenantRelation { public Guid Id { get; set; } public Guid JobAttendanceId { get; set; } [ValidateNever] [ForeignKey("JobAttendanceId")] public JobAttendance? JobAttendance { get; set; } public Guid JobTicketId { get; set; } [ValidateNever] [ForeignKey("JobTicketId")] public JobTicket? JobTicket { get; set; } public Guid? DocumentId { get; set; } [ValidateNever] [ForeignKey("DocumentId")] public Document? Document { get; set; } public string? Latitude { get; set; } public string? Longitude { get; set; } public TAGGING_MARK_TYPE Action { get; set; } public string? Comment { get; set; } public Guid EmployeeId { get; set; } [ValidateNever] [ForeignKey("EmployeeId")] public Employee? Employee { get; set; } public DateTime MarkedTIme { get; set; } public DateTime MarkedAt { get; set; } } }