init
This commit is contained in:
29
DouyinApi.Model/IDS4DbModels/ApplicationUser.cs
Normal file
29
DouyinApi.Model/IDS4DbModels/ApplicationUser.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DouyinApi.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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user