feat 网格二期补充
This commit is contained in:
@@ -38,21 +38,21 @@ public class WorkGridEntity : SugarBaseEntity, ISoftDeleted, ITenantId
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大排班用户数提醒
|
||||
/// 排班用户数提醒
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "最大排班用户数提醒")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "排班用户数提醒")]
|
||||
public int MaxUserTipCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大排班连续天数提醒
|
||||
/// 排班连续天数提醒天数
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "最大排班连续天数提醒")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "排班连续天数提醒天数")]
|
||||
public int MaxConsecutiveTipCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请设置连续排班限制
|
||||
/// 连续排班限制人数
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "请设置连续排班限制")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "连续排班限制人数")]
|
||||
public int MaxConsecutiveLimitCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -68,8 +68,8 @@ public class WorkGridEntity : SugarBaseEntity, ISoftDeleted, ITenantId
|
||||
public int Count { get; set; } = 50;
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "bit")]
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 网格排班取消记录
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "WorkGridScheduleCancelRecord", TableDescription = "工作网格排班取消记录")]
|
||||
public class WorkGridScheduleCancelRecordEntity : SugarBaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 原始记录id
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "原始记录id", UniqueGroupNameList = new[] { "Unique_WorkGridScheduleCancel_WorkGridScheduleId" })]
|
||||
public long WorkGridScheduleId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 取消原因
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "取消原因")]
|
||||
public string Reason { get; set; }
|
||||
}
|
||||
@@ -36,6 +36,11 @@ public class WorkGridScheduleEntity : SugarBaseEntity , ISoftDeleted
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工号", IndexGroupNameList = new[] { "idx_WorkGridSchedules_userCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否取消
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "是否取消", ColumnDataType = "bit")]
|
||||
public bool IsCancel { get; set; }
|
||||
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user