Blog.Core/Blog.Core.Model/IDS4DbModels/ApplicationUser.cs

30 lines
776 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}