namespace iWareDataCore.ORM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("RBACUser")] public partial class RBACUser { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public RBACUser() { RBACRoleUsers = new HashSet(); } public int id { get; set; } [Required] [StringLength(50)] public string username { get; set; } [Required] [StringLength(50)] public string password { get; set; } [Required] [StringLength(50)] public string name { get; set; } [Required] [StringLength(50)] public string workno { get; set; } [StringLength(50)] public string position { get; set; } [StringLength(200)] public string photo { get; set; } [StringLength(50)] public string tel { get; set; } public int status { get; set; } public int label { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection RBACRoleUsers { get; set; } } }