fix editing channel number (#59)

This commit is contained in:
Jason Dove
2021-03-10 19:15:08 +00:00
committed by GitHub
parent 46bcf03d9a
commit e624627ae1
4 changed files with 7 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@ namespace ErsatzTV.Core.Domain
{
public class Channel
{
public static string NumberValidator = @"^[0-9]+(\.[0-9])?$";
public Channel(Guid uniqueId) => UniqueId = uniqueId;
public int Id { get; set; }
public Guid UniqueId { get; init; }