mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use view model for owned machine index.
This commit is contained in:
17
cicm_web/Areas/Admin/Models/OwnedMachineViewModel.cs
Normal file
17
cicm_web/Areas/Admin/Models/OwnedMachineViewModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Cicm.Database;
|
||||
|
||||
namespace cicm_web.Areas.Admin.Models
|
||||
{
|
||||
public class OwnedMachineViewModel : BaseViewModel<long>
|
||||
{
|
||||
[DataType(DataType.Date)]
|
||||
[DisplayName("Acquired")]
|
||||
public DateTime AcquisitionDate { get; set; }
|
||||
public StatusType Status { get; set; }
|
||||
public string Machine { get; set; }
|
||||
public string User { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user