mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
700 B
20 lines
700 B
using System; |
|
|
|
namespace ErsatzTV.Core.Domain |
|
{ |
|
public class PlayoutItem |
|
{ |
|
public int Id { get; set; } |
|
public int MediaItemId { get; set; } |
|
public MediaItem MediaItem { get; set; } |
|
public DateTime Start { get; set; } |
|
public DateTime Finish { get; set; } |
|
public string CustomTitle { get; set; } |
|
public bool CustomGroup { get; set; } |
|
public int PlayoutId { get; set; } |
|
public Playout Playout { get; set; } |
|
|
|
public DateTimeOffset StartOffset => new DateTimeOffset(Start, TimeSpan.Zero).ToLocalTime(); |
|
public DateTimeOffset FinishOffset => new DateTimeOffset(Finish, TimeSpan.Zero).ToLocalTime(); |
|
} |
|
}
|
|
|