using Marco.Pms.Model.Utilities;

namespace Marco.Pms.Model.Dtos.Attendance
{
    public class RecordAttendanceDot
    {
        public Guid? Id { get; set; }
        public string? Comment { get; set; }
        public Guid EmployeeID { get; set; }
        public Guid ProjectID { get; set; }

        public DateTime Date { get; set; }

        public string? MarkTime { get; set; }
        public string? Latitude { get; set; }
        public string? Longitude { get; set; }


        public ATTENDANCE_MARK_TYPE Action { get; set; }

        public FileUploadModel? Image { get; set; }
        public string DeviceToken { get; set; } = string.Empty;
    }

    public enum ATTENDANCE_MARK_TYPE
    {
        CHECK_IN = 0, CHECK_OUT = 1, REQUEST_REGULARIZE = 2, REQUEST_DELETE = 3, REGULARIZE = 4, REGULARIZE_REJECT = 5
    }
}
