using System.Collections.Generic;

namespace LHDN.CRM.Models.Models
{
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table("Usr_FunctionalRoleMember")]
    public class FunctionalRoleMember
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long FunctionalRoleMemberID { get; set; }
        
        public int FunctionalRoleID { get; set; }

        public int? UnitID { get; set; }

        public long UserProfileID { get; set; }

        public virtual ICollection<FunctionalRole> FunctionalRoles { get; set; }

        //public virtual ICollection<FunctionalRoleTask> FunctionalRoleTasks { get; set; }

        //[ForeignKey("FunctionalRoleID")]
        //public virtual ICollection<FunctionalRoleTask> FunctionalRoleTasks { get; set; }

    }
}
