You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
992 B
31 lines
992 B
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<trolepermission>();
|
|
}
|
|
|
|
[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<trolepermission> trolepermissions { get; set; }
|
|
}
|
|
}
|
|
|