namespace Warehouse.Models.Permission { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("wh.trolepermissions")] public partial class trolepermission { [Key] public long RolePermissionId { get; set; } public int RoleId { get; set; } [Required] public int PermissionId { get; set; } public virtual trole trole { get; set; } } }