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.

80 lines
2.0 KiB
C#

using System.ComponentModel.DataAnnotations;
using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
/// <summary>
/// 租户实体
/// </summary>
[SqlSugar.SugarTable("sys_tenant_apply")]
public class SysTenantApply : BaseModel<long>
{
/// <summary>
/// 公司名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 拼音码
/// </summary>
public string PinYinCode { get; set; }= "";
/// <summary>
/// 公司地址
/// </summary>
public string Address { get; set; }= "";
/// <summary>
/// 租户管理员手机
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 公司电话
/// </summary>
public string Tel { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get; set; }
/// <summary>
/// 企业法人
/// </summary>
public string Chief { get; set; }
/// <summary>
/// 企业税号
/// </summary>
[SugarColumn(ColumnDescription = "企业税号", Length = 128)]
[MaxLength(128)]
public string TaxNo { get; set; }
/// <summary>
/// 管理员账号
/// </summary>
public string AdminUserCode { get; set; }
/// <summary>
/// 管理员密码
/// </summary>
public string AdminUserPassword { get; set; }
/// <summary>
/// 合同开始日期
/// </summary>
public DateTime ContractBeginDate { get; set; }
/// <summary>
/// 合同结束日期
/// </summary>
public DateTime ContractEndDate { get; set; }
/// <summary>
/// 审批状态
/// </summary>
[SugarColumn(ColumnDescription = "审批状态")]
public AuditStatusEnum? AuditStatus { get; set; } = AuditStatusEnum.NoAudit;
/// <summary>
/// 审批时间
/// </summary>
public DateTime AuditTime { get; set; }
/// <summary>
/// 审批意见
/// </summary>
public string AuditNote { get; set; }
}