fix 调整时段码结构

This commit is contained in:
2024-07-19 16:10:38 +08:00
parent c7c1bf1ec8
commit a48e34f999
25 changed files with 217 additions and 233 deletions

View File

@@ -1,16 +1,25 @@
using Dlhis.Entity.Device.Enums;
using Dlhis.Entity.Device.Models;
namespace Dlhis.Basic.Device.Response;
public class DeviceTimePeriodResponse
public class DeviceTimePeriodResponse
{
public long Id { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 卡类型
/// </summary>
public int CardType { get; set; }
/// <summary>
/// 卡类型描述
/// </summary>
public string CardTypeDesc { get; set; }
/// <summary>
/// 分配类型
/// </summary>
@@ -22,27 +31,7 @@ public class DeviceTimePeriodResponse
public Guid Value { get; set; }
/// <summary>
/// 名称
/// 时段信息
/// </summary>
public string Name { get; set; }
/// <summary>
/// 上班开始
/// </summary>
public TimeOnly OnStart { get; set; }
/// <summary>
/// 上班结束
/// </summary>
public TimeOnly OnEnd { get; set; }
/// <summary>
/// 下班开始
/// </summary>
public TimeOnly OffStart { get; set; }
/// <summary>
/// 下班结束
/// </summary>
public TimeOnly OffEnd { get; set; }
public List<DeviceWeekDayTimePeriod> Sections { get; set; }
}