
using System;
using System.Collections.Generic;

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


    [Table("Usr_FunctionalRole")]
    public class FunctionalRole
    {

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int FunctionalRoleID { get; set; }

        [Required]
        [StringLength(255)]
        public string RoleName { get; set; }

        //[Required]
        //public virtual ICollection<FunctionalRoleMember> FunctionalRoleMembers { get; set; }

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