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

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

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

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

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