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.
56 lines
1.5 KiB
56 lines
1.5 KiB
namespace Warehouse.Models.whMS
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
public partial class tuser
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public tuser()
|
|
{
|
|
tuserroles = new HashSet<tuserrole>();
|
|
}
|
|
|
|
[Key]
|
|
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 workshop { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(86)]
|
|
public string Password { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string PasswordSalt { get; set; }
|
|
|
|
public DateTime? LastDirectoryUpdate { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string UserImage { get; set; }
|
|
|
|
public DateTime? Createtime { get; set; }
|
|
|
|
public int? CreateUserId { 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<tuserrole> tuserroles { get; set; }
|
|
}
|
|
}
|
|
|