using System.Collections.Generic; using MapTo; namespace BlueWest.Data { [MapFrom(new []{typeof(ProductUpdate), typeof(ProductCreate), typeof(ProductUnique)})] public partial class Product { public int Id { get; set; } public string Name { get; set; } public string Size { get; set; } public double Price { get; set; } public Currency Currency { get; set; } public Industry Industry { get; set; } public List Seller { get; set; } } }