由于sqlite无法删除列,重新添加DayRange字段,默认值为弃用,并标记为放弃

This commit is contained in:
FalconFly 2024-07-24 09:57:22 +08:00
parent 73d0e32574
commit d3ffa7c6d7

View File

@ -26,5 +26,11 @@ namespace CalendarNotepad.Models
/// 加班信息 /// 加班信息
/// </summary> /// </summary>
public string? Workout { get; set; } public string? Workout { get; set; }
/// <summary>
/// 当日时间段
/// </summary>
[Obsolete("不再使用,旧数据保留,新数据设置为弃用",false)]
[MaxLength(2)]
public string? DayRange { get; set; } = "弃用";
} }
} }