Tidy up, updated ItemBaseTypes and ItemClasses files to Path of Exile 2.3.4

This commit is contained in:
Ben Wallis
2016-08-20 15:42:59 +01:00
parent 76dd9fb22c
commit f75095ba72
68 changed files with 2650 additions and 1227 deletions

View File

@@ -0,0 +1,26 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Filtration.ObjectModel
{
[Table("ItemSet")]
public class ItemSet
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public ItemSet()
{
// ReSharper disable once VirtualMemberCallInContructor
Items = new HashSet<Item>();
}
public long Id { get; set; }
[Required]
[StringLength(200)]
public string Name { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public ICollection<Item> Items { get; set; }
}
}