Use license table in machine photos.

This commit is contained in:
2019-05-27 18:03:08 +01:00
parent 82956c6b77
commit 574176ee4c
7 changed files with 5452 additions and 8 deletions

View File

@@ -40,8 +40,7 @@ namespace Cicm.Database.Models
[DisplayName("ISO speed rating")]
public int? IsoRating { get; set; }
[DisplayName("Lens used")]
public string Lens { get; set; }
public string License { get; set; }
public string Lens { get; set; }
[DisplayName("Light source")]
public string LightSource { get; set; }
[DisplayName("Metering mode")]
@@ -70,5 +69,7 @@ namespace Cicm.Database.Models
public virtual ApplicationUser User { get; set; }
public virtual Machine Machine { get; set; }
[Required]
public virtual License License { get; set; }
}
}