using Dapper.Contrib.Extensions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; [Table("login")] public class login { [Key] public string login_id { get; set; } = ""; public string login_pwd { get; set; } = ""; } [Table("token")] public class token { [JsonIgnore] [Key] public int token_sn { get; set; } = 0; public string token_key { get; set; } = ""; public string user_uid { get; set; } = ""; public string user_id { get; set; } = ""; public string token_isremember { get; set; } = ""; public DateTime token_createdate { get; set; } = DateTime.Now; public DateTime token_expireddate { get; set; } = DateTime.Now; }