mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Rename logos in company model.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Cicm.Database.Models
|
||||
{
|
||||
@@ -37,7 +38,7 @@ namespace Cicm.Database.Models
|
||||
{
|
||||
public Company()
|
||||
{
|
||||
CompanyLogos = new HashSet<CompanyLogo>();
|
||||
Logos = new HashSet<CompanyLogo>();
|
||||
Gpus = new HashSet<Gpu>();
|
||||
InverseSoldToNavigation = new HashSet<Company>();
|
||||
MachineFamilies = new HashSet<MachineFamily>();
|
||||
@@ -64,12 +65,14 @@ namespace Cicm.Database.Models
|
||||
public virtual Iso31661Numeric Country { get; set; }
|
||||
public virtual Company SoldTo { get; set; }
|
||||
public virtual CompanyDescription Description { get; set; }
|
||||
public virtual ICollection<CompanyLogo> CompanyLogos { get; set; }
|
||||
public virtual ICollection<CompanyLogo> Logos { get; set; }
|
||||
public virtual ICollection<Gpu> Gpus { get; set; }
|
||||
public virtual ICollection<Company> InverseSoldToNavigation { get; set; }
|
||||
public virtual ICollection<MachineFamily> MachineFamilies { get; set; }
|
||||
public virtual ICollection<Machine> Machines { get; set; }
|
||||
public virtual ICollection<Processor> Processors { get; set; }
|
||||
public virtual ICollection<SoundSynth> SoundSynths { get; set; }
|
||||
public virtual CompanyLogo LastLogo =>
|
||||
Logos?.OrderByDescending(l => l.Year).FirstOrDefault();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user