Files
marechai/Cicm.Database/Models/StorageByOwnedMachine.cs
Natalia Portillo 3813ad80cf Move old owned_computers and owned_consoles tables to a new OwnedMachines table
with corresponding GPUs, memory, processors, sound synths and storage related tables.
2019-05-29 21:13:09 +01:00

15 lines
473 B
C#

using System.ComponentModel.DataAnnotations;
namespace Cicm.Database.Models
{
public class StorageByOwnedMachine : BaseModel<long>
{
public long OwnedMachineId { get; set; }
public StorageType Type { get; set; }
public StorageInterface Interface { get; set; }
[Range(1, long.MaxValue)]
public long Capacity { get; set; }
public virtual OwnedMachine OwnedMachine { get; set; }
}
}