mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed issue with storing and retrieving quality profile, checking the profile.
This commit is contained in:
parent
a7780fab67
commit
309e1ba249
3 changed files with 10 additions and 4 deletions
|
@ -11,7 +11,7 @@ namespace NzbDrone.Core.Repository.Quality
|
|||
[SubSonicPrimaryKey(true)]
|
||||
public int ProfileId { get; set; }
|
||||
|
||||
[Required (ErrorMessage = "A Name is Required")]
|
||||
[Required(ErrorMessage = "A Name is Required")]
|
||||
[DisplayName("Name")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string Name { get; set; }
|
||||
|
@ -52,5 +52,8 @@ namespace NzbDrone.Core.Repository.Quality
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<string> Series { get; private set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue