This commit is contained in:
ky_sunl
2021-04-22 13:37:25 +00:00
parent 575a22954f
commit d1c9e5a71e
699 changed files with 1062425 additions and 40640 deletions

View File

@@ -0,0 +1,56 @@
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dilon.Core
{
/// <summary>
/// 租户表
/// </summary>
[Table("sys_tenant")]
[Comment("租户表")]
public class SysTenant : DEntityBase, IEntity<MultiTenantDbContextLocator>
{
/// <summary>
/// 名称
/// </summary>
[Comment("名称")]
public string Name { get; set; }
/// <summary>
/// 主机
/// </summary>
[Comment("主机")]
public string Host { get; set; }
/// <summary>
/// 电子邮箱
/// </summary>
[Comment("电子邮箱")]
public string Email { get; set; }
/// <summary>
/// 电话
/// </summary>
[Comment("电话")]
public string Phone { get; set; }
/// <summary>
/// 数据库连接
/// </summary>
[Comment("数据库连接")]
public string Connection { get; set; }
/// <summary>
/// 架构
/// </summary>
[Comment("架构")]
public string Schema { get; set; }
/// <summary>
/// 备注
/// </summary>
[Comment("备注")]
public string Remark { get; set; }
}
}