using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;

namespace LSFE.Infrastructure.Entities.Planning
{
    [Table("MRRawPlans")]
    public class MRRawPlan
    {
        [Key]
        public Guid MRRawPlanId { get; set; }
        public Guid? MRPlanDetailId { get; set; }
        public byte? VisitCount { get; set; }
        public DateOnly? CallDate { get; set; }
        public DateOnly? ActualCallDate { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public string? Longitude { get; set; }
        public string? Latitude { get; set; }
        public string? Location { get; set; }
        public bool IsSignature { get; set; } = false;
        public string? SignatureFileName { get; set; }
        public bool IsMissed { get; set; } = false;
        public string? MissedReason { get; set; }
        public bool IsDoctorProxy { get; set; } = false;
        public bool IsReschedule { get; set; } = false;
        public string? RescheduleReason { get; set; }
        public string? CallType { get; set; }
        public bool IsJoinCall { get; set; } = false;
        public byte? CycleId { get; set; }
        public bool IsApproved { get; set; } = false;
        public bool IsRecovered { get; set; } = false;
        public bool IsLiterature { get; set; }
        public string? SLP { get; set; }
        public string? ApprovedBy { get; set; }
        public DateTime? ApprovedDate { get; set; }
        public byte Status { get; set; }
        public bool IsCatchUpCall { get; set; }
    }
}
