﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using RefactorThis.GraphDiff;
using DertInfo.WEB.Models.Contexts;
using System.ComponentModel.DataAnnotations.Schema;
using DertInfo.WEB.Models.Base;

namespace DertInfo.WEB.Models
{
    public class MemberAttendance : DertObjectBase_Trackable_Accessible
    {

        private DertInfoContext db = new DertInfoContext();

        //Primary Key
        [Key]
        public int Id { get; set; }

        //Foreign Keys
        public int RegistrationId { get; set; }
        public int GroupMemberId { get; set; }
        public int AttendanceClassificationId { get; set; }

        //Objects
        public virtual Registration Registration { get; set; }
        public virtual GroupMember GroupMember { get; set; }
        public virtual AttendanceClassification AttendanceClassification { get; set; }

        //Properties

        //Status
        //public string AccessToken { get; set; }
        //public DateTime DateCreated { get; set; }
        //public DateTime DateModified { get; set; }
        //public string CreatedBy { get; set; }
        //public string ModifiedBy { get; set; }
        //public bool IsDeleted { get; set; }

    }
}