mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use properties in machine photo viewmodel so annotations are used.
This commit is contained in:
@@ -5,12 +5,12 @@ namespace cicm_web.Areas.Admin.Models
|
|||||||
{
|
{
|
||||||
public class MachinePhotoViewModel : BaseViewModel<Guid>
|
public class MachinePhotoViewModel : BaseViewModel<Guid>
|
||||||
{
|
{
|
||||||
public string Author;
|
public string Author { get; set; }
|
||||||
public string License;
|
public string License { get; set; }
|
||||||
public string Machine;
|
public string Machine { get; set; }
|
||||||
[DisplayName("Uploaded")]
|
[DisplayName("Uploaded")]
|
||||||
public DateTime UploadDate;
|
public DateTime UploadDate { get; set; }
|
||||||
[DisplayName("Uploaded by")]
|
[DisplayName("Uploaded by")]
|
||||||
public string UploadUser;
|
public string UploadUser { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
<Version>3.0.99.583</Version>
|
<Version>3.0.99.585</Version>
|
||||||
<Company>Canary Islands Computer Museum</Company>
|
<Company>Canary Islands Computer Museum</Company>
|
||||||
<Copyright>Copyright © 2003-2018 Natalia Portillo</Copyright>
|
<Copyright>Copyright © 2003-2018 Natalia Portillo</Copyright>
|
||||||
<Product>Canary Islands Computer Museum Website</Product>
|
<Product>Canary Islands Computer Museum Website</Product>
|
||||||
|
|||||||
Reference in New Issue
Block a user