2022-08-22 00:14:50 +03:00
|
|
|
using System.Collections.Generic;
|
2022-08-23 19:48:16 +03:00
|
|
|
using MapTo;
|
2022-08-22 00:14:50 +03:00
|
|
|
|
|
|
|
namespace BlueWest.Data
|
|
|
|
{
|
2022-08-23 19:48:16 +03:00
|
|
|
[MapFrom(new []{typeof(ProductUpdate), typeof(ProductCreate)})]
|
2022-08-22 00:14:50 +03:00
|
|
|
public partial class Product
|
|
|
|
{
|
2022-08-23 19:48:16 +03:00
|
|
|
public int Id { get; set; }
|
2022-08-22 00:14:50 +03:00
|
|
|
public string Name { get; set; }
|
2022-08-23 19:48:16 +03:00
|
|
|
public string Size { get; set; }
|
2022-08-22 00:14:50 +03:00
|
|
|
public Industry Industry { get; set; }
|
|
|
|
public List<Company> Seller { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|