You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.8 KiB
C#
77 lines
1.8 KiB
C#
11 months ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using DS.Module.Core;
|
||
12 months ago
|
using DS.Module.Core.Data;
|
||
11 months ago
|
using SqlSugar;
|
||
12 months ago
|
|
||
7 months ago
|
namespace DS.WMS.Core.Sys.Entity;
|
||
12 months ago
|
|
||
|
/// <summary>
|
||
|
/// 租户实体
|
||
|
/// </summary>
|
||
|
[SqlSugar.SugarTable("sys_tenant")]
|
||
11 months ago
|
public class SysTenant : BaseModel<long>
|
||
12 months ago
|
{
|
||
|
/// <summary>
|
||
11 months ago
|
/// 公司名称
|
||
12 months ago
|
/// </summary>
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
11 months ago
|
/// 拼音码
|
||
12 months ago
|
/// </summary>
|
||
11 months ago
|
public string PinYinCode { get; set; }= "";
|
||
|
/// <summary>
|
||
|
/// 公司地址
|
||
|
/// </summary>
|
||
|
public string Address { get; set; }= "";
|
||
12 months ago
|
/// <summary>
|
||
11 months ago
|
/// 租户管理员手机
|
||
12 months ago
|
/// </summary>
|
||
|
public string Phone { get; set; }
|
||
11 months ago
|
/// <summary>
|
||
|
/// 公司电话
|
||
|
/// </summary>
|
||
|
public string Tel { get; set; }
|
||
10 months ago
|
|
||
12 months ago
|
|
||
|
/// <summary>
|
||
|
/// 邮箱
|
||
|
/// </summary>
|
||
|
public string Email { get; set; }
|
||
11 months ago
|
/// <summary>
|
||
|
/// 企业法人
|
||
|
/// </summary>
|
||
|
public string Chief { get; set; }
|
||
|
/// <summary>
|
||
|
/// 企业税号
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "企业税号", Length = 128)]
|
||
|
[MaxLength(128)]
|
||
|
public string TaxNo { get; set; }
|
||
10 months ago
|
|
||
11 months ago
|
/// <summary>
|
||
|
/// 租户类型 0-普通租户 1-系统租户
|
||
|
/// </summary>
|
||
10 months ago
|
public int? TenantType { get; set; } = 0;
|
||
10 months ago
|
|
||
11 months ago
|
/// <summary>
|
||
10 months ago
|
/// 租户密钥
|
||
11 months ago
|
/// </summary>
|
||
10 months ago
|
public string AppSecret { get; set; }
|
||
10 months ago
|
// /// <summary>
|
||
|
// /// 排序
|
||
|
// /// </summary>
|
||
|
// [SugarColumn(ColumnDescription = "排序")]
|
||
|
// public int? OrderNo { get; set; } = 100;
|
||
11 months ago
|
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "状态")]
|
||
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
||
|
/// <summary>
|
||
|
/// 付费是否到期
|
||
12 months ago
|
/// </summary>
|
||
11 months ago
|
[SugarColumn(ColumnDescription = "付费是否到期")]
|
||
|
public bool IsExpire { get; set; } = false;
|
||
12 months ago
|
}
|