namespace Warehouse.Models.mesMysqlModel { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("js_mes.users")] public partial class user { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public user() { userpermissions = new HashSet(); userroles = new HashSet(); } public int UserId { get; set; } [Required] [StringLength(100)] public string Username { get; set; } [Required] [StringLength(100)] public string DisplayName { get; set; } [StringLength(100)] public string Email { get; set; } [Required] [StringLength(4)] public string Source { get; set; } [Required] [StringLength(86)] public string PasswordHash { get; set; } [Required] [StringLength(10)] public string PasswordSalt { get; set; } public DateTime? LastDirectoryUpdate { get; set; } [StringLength(100)] public string UserImage { get; set; } public DateTime InsertDate { get; set; } public int InsertUserId { get; set; } public DateTime? UpdateDate { get; set; } public int? UpdateUserId { get; set; } public short IsActive { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection userpermissions { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection userroles { get; set; } } }