using SqlSugar; using System; namespace Tiobon.Core.Model.IDS4DbModels { /// /// 以下model 来自ids4项目,多库模式,为了调取ids4数据 /// 用户表 /// [SugarTable("AspNetUsers", "用户表")]//('数据库表名','数据库表备注') [TenantAttribute("WMTiobon_MYSQL_2")] //('代表是哪个数据库,名字是appsettings.json 的 ConnId') public class ApplicationUser { public string LoginName { get; set; } public string RealName { get; set; } public int sex { get; set; } = 0; public int age { get; set; } public DateTime birth { get; set; } = DateTime.Now; public string addr { get; set; } public bool tdIsDelete { get; set; } } }