mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Move all database logic in machine view out of the view into the controller.
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Marechai.ViewModels
|
||||
{
|
||||
public class MachineViewModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string CompanyName { get; set; }
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Model { get; set; }
|
||||
public string CompanyName { get; set; }
|
||||
public int CompanyId { get; set; }
|
||||
public Guid? CompanyLogo { get; set; }
|
||||
public DateTime? Introduced { get; set; }
|
||||
public int? FamilyId { get; set; }
|
||||
public string FamilyName { get; set; }
|
||||
public List<GpuViewModel> Gpus { get; set; }
|
||||
public List<MemoryViewModel> Memory { get; set; }
|
||||
public List<ProcessorViewModel> Processors { get; set; }
|
||||
public List<SoundSynthViewModel> SoundSynthetizers { get; set; }
|
||||
public List<StorageViewModel> Storage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user