using System; using System.Collections.Generic; using System.Linq; namespace DM_Weight.Models { /// /// /// public class UserList { /// /// /// public int Id { get; set; } /// /// /// public string UserName { get; set; } /// /// /// public string Nickname { get; set; } /// /// /// public string PassWord { get; set; } /// /// /// public string UserBarcode { get; set; } /// /// /// //[SugarColumn(ColumnName="status" )] //public int? Status { get; set; } /// /// /// public int? RoleId { get; set; } public RoleDm? Role { get; set; } /// /// /// //[SugarColumn(ColumnName="user_card" )] // public string UserCard { get; set; } /// /// /// public string MachineId { get; set; } /// /// /// public byte[] Sign { get; set; } public override string ToString() { return "userList = [UserName:" + Nickname + ", UserId:" + UserName + "]"; } } }