namespace Warehouse.Models.whMS { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("tpermission")] public partial class tpermission { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public tpermission() { trolepermissions = new HashSet(); } [Key] public int PermissionId { get; set; } [Required] [StringLength(50)] public string PermissionName { get; set; } [StringLength(500)] public string Remark { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection trolepermissions { get; set; } } }