using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MyPortal.Database.Models.Entity
{
    [Table("StudentContactRelationships")]
    public class StudentContactRelationship : BaseTypes.Entity
    {
        [Column(Order = 2)] public Guid RelationshipTypeId { get; set; }

        [Column(Order = 3)] public Guid StudentId { get; set; }

        [Column(Order = 4)] public Guid ContactId { get; set; }

        [Column(Order = 5)] public bool Correspondence { get; set; }

        [Column(Order = 6)] public bool ParentalResponsibility { get; set; }

        [Column(Order = 7)] public bool PupilReport { get; set; }

        [Column(Order = 8)] public bool CourtOrder { get; set; }

        public virtual RelationshipType RelationshipType { get; set; }
        public virtual Student Student { get; set; }
        public virtual Contact Contact { get; set; }
    }
}