fix 调整时段码结构
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user