You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
405 B
23 lines
405 B
using Model;
|
|
|
|
namespace Web_Api
|
|
{
|
|
public class SkinDTO
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public float Price { get; set; }
|
|
|
|
public LargeImage Image { get; set; }
|
|
|
|
public Skin toModel()
|
|
{
|
|
return new Skin(Name, Description, Price, Image);
|
|
}
|
|
}
|
|
}
|