mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Set defaults for booleans.
This commit is contained in:
@@ -36,9 +36,9 @@ namespace Marechai.Database.Models
|
||||
public string Name { get; set; }
|
||||
[DisplayName("SPDX identifier")]
|
||||
public string SPDX { get; set; }
|
||||
[DisplayName("FSF approved"), Required]
|
||||
[DisplayName("FSF approved"), Required, DefaultValue(false)]
|
||||
public bool FsfApproved { get; set; }
|
||||
[DisplayName("OSI approved"), Required]
|
||||
[DisplayName("OSI approved"), Required, DefaultValue(false)]
|
||||
public bool OsiApproved { get; set; }
|
||||
[DisplayName("License text link"), StringLength(512), Url]
|
||||
public string Link { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user