mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
30 lines
776 B
C#
30 lines
776 B
C#
using SqlSugar;
|
||
using System;
|
||
|
||
namespace Blog.Core.Model.IDS4DbModels
|
||
{
|
||
/// <summary>
|
||
/// 以下model 来自ids4项目,多库模式,为了调取ids4数据
|
||
/// 用户表
|
||
/// </summary>
|
||
[SugarTable("AspNetUsers", "用户表")]//('数据库表名','数据库表备注')
|
||
[TenantAttribute("WMBLOG_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; }
|
||
|
||
}
|
||
}
|