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 string Author;
|
||||
public string License;
|
||||
public string Machine;
|
||||
public string Author { get; set; }
|
||||
public string License { get; set; }
|
||||
public string Machine { get; set; }
|
||||
[DisplayName("Uploaded")]
|
||||
public DateTime UploadDate;
|
||||
public DateTime UploadDate { get; set; }
|
||||
[DisplayName("Uploaded by")]
|
||||
public string UploadUser;
|
||||
public string UploadUser { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user