46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace Yi.Framework.Model.Models
|
|
{
|
|
/// <summary>
|
|
/// 租户表
|
|
///</summary>
|
|
[SugarTable("Tenant")]
|
|
public partial class TenantEntity
|
|
{
|
|
public TenantEntity()
|
|
{
|
|
this.Id=Guid.NewGuid();
|
|
this.IsDeleted=false;
|
|
this.CreateTime = DateTime.Now;
|
|
}
|
|
/// <summary>
|
|
/// 1
|
|
///</summary>
|
|
[SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )]
|
|
public Guid Id { get; set; }
|
|
/// <summary>
|
|
/// 创建者
|
|
///</summary>
|
|
[SugarColumn(ColumnName="CreateUser" )]
|
|
public Guid? CreateUser { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName="CreateTime" )]
|
|
public DateTime? CreateTime { get; set; }
|
|
/// <summary>
|
|
/// 修改时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName="ModifyTime" )]
|
|
public DateTime? ModifyTime { get; set; }
|
|
/// <summary>
|
|
/// 是否删除
|
|
///</summary>
|
|
[SugarColumn(ColumnName="IsDeleted" )]
|
|
public bool? IsDeleted { get; set; }
|
|
}
|
|
}
|