CodeLiturgy.Dashboard/BlueWest.Data.Capital/Capital/Company/Product/Product.cs

20 lines
526 B
C#
Raw Normal View History

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-09-06 01:37:52 +03:00
[MapFrom(new []{typeof(ProductUpdate), typeof(ProductCreate), typeof(ProductUnique)})]
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-09-06 01:37:52 +03:00
public double Price { get; set; }
public Currency Currency { get; set; }
2022-08-22 00:14:50 +03:00
public Industry Industry { get; set; }
public List<Company> Seller { get; set; }
}
}