mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use BaseViewModel in admin.
This commit is contained in:
@@ -5,9 +5,8 @@ using Cicm.Database;
|
||||
|
||||
namespace cicm_web.Areas.Admin.Models
|
||||
{
|
||||
public class MachineViewModel
|
||||
public class MachineViewModel : BaseViewModel<int>
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[StringLength(255)]
|
||||
public string Name { get; set; }
|
||||
public MachineType Type { get; set; }
|
||||
@@ -16,8 +15,7 @@ namespace cicm_web.Areas.Admin.Models
|
||||
public DateTime? Introduced { get; set; }
|
||||
public string Family { get; set; }
|
||||
[StringLength(50)]
|
||||
public string Model { get; set; }
|
||||
|
||||
public string Model { get; set; }
|
||||
public string Company { get; set; }
|
||||
|
||||
[DisplayName("Introduced")]
|
||||
|
||||
Reference in New Issue
Block a user