add 访客

This commit is contained in:
2024-10-10 12:27:37 +08:00
parent 981bcc38e2
commit 4af590209f
7 changed files with 7 additions and 121 deletions

View File

@@ -22,6 +22,7 @@ public class AppointmentAreaAssignmentEntity : SugarBaseEntity, ITenantId
[SugarColumn(IsNullable = false, ColumnDescription = "设备code")]
public Guid DeviceCode { get; set; }
[SugarColumn]
public string TenantId { get; set; }
}
}

View File

@@ -11,7 +11,7 @@ namespace Dlhis.Entity.Visitor.Entity;
/// 预约区域
/// </summary>
[SugarTable(TableName = "AppointmentArea", TableDescription = "预约区域")]
public class AppointmentAreaEntity : SugarBaseEntity, ITenantId, ISoftDeleted
public class AppointmentAreaEntity : SugarBaseEntity, ITenantId
{
/// <summary>
/// 区域类型
@@ -48,7 +48,4 @@ public class AppointmentAreaEntity : SugarBaseEntity, ITenantId, ISoftDeleted
[SugarColumn(IsNullable = false, ColumnDescription = " 基地/租户",
UniqueGroupNameList = new[] { "idx_AppointmentArea_t_cc_tid" })]
public string TenantId { get; set; }
public bool IsDeleted { get; set; }
}
}

View File

@@ -1,7 +1,5 @@
using Dlhis.Entity.Visitor.Enums;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Visitor.Entity;
@@ -36,7 +34,7 @@ public class VisitorAppointmentEntity : SugarBaseEntity
/// 申请时间
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// 备注
/// </summary>
@@ -51,4 +49,4 @@ public class VisitorAppointmentEntity : SugarBaseEntity
/// 申请事由
/// </summary>
public string Reason { get; set; }
}
}

View File

@@ -1,19 +0,0 @@
using System.ComponentModel;
namespace Dlhis.Entity.Visitor.Enums;
[Description("预约区域")]
public enum ApponintmentAreaEnumType
{
/// <summary>
/// 门岗
/// </summary>
[Description("门岗")]
Door = 1,
/// <summary>
/// 车间
/// </summary>
[Description("车间")]
Workshop = 2,
}

View File

@@ -1,22 +0,0 @@
using System.ComponentModel;
namespace Dlhis.Entity.Visitor.Enums;
/// <summary>
/// 访客预约明细状态
/// </summary>
[Description("访客预约状态")]
public enum VisitorAppointmentStatusEnumType
{
/// <summary>
/// 到达
/// </summary>
[Description("到达")]
Valid = 1,
/// <summary>
/// 作废
/// </summary>
[Description("作废")]
Obsolete = 99
}