* Initial plan * Add PNG icon support for shifts with sample coffee cup icon Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Add more icons --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> Co-authored-by: Claudio Schaad <c.schaad@pog.ch>
12 lines
415 B
C#
12 lines
415 B
C#
namespace ShiftScheduler.Shared.Models
|
|
{
|
|
public class Shift
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Icon { get; set; } = string.Empty;
|
|
public string MorningTime { get; set; } = string.Empty;
|
|
public string AfternoonTime { get; set; } = string.Empty;
|
|
|
|
public bool IsPngIcon => Icon.EndsWith(".png", StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
}
|