SES-152 Add Basic ViewModels for sshopkeepers

This commit is contained in:
Karol Górzyński 2021-01-20 18:54:11 +01:00
parent 561db899da
commit 3e1f7cd637
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.ViewModels.ShopkeeperItemsViewModels
{
public class ShopkeeperItemViewModel
{
/// <summary>
/// Id Sprzedawcy
/// </summary>
public int ShopkeeperId { get; set; }
/// <summary>
/// Id zbroi
/// </summary>
public int? ArmorId { get; set; }
/// <summary>
/// Id broni
/// </summary>
public int? WeaponId { get; set; }
}
}

View File

@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.ViewModels.ShopkeeperViewModels
{
public class ShopkeeperViewModel
{
/// <summary>
/// Id sprzedawcy
/// </summary>
public int Id { get; set; }
/// <summary>
/// Imie sprzedawcy
/// </summary>
public string Name { get; set; }
/// <summary>
/// Dostępność sprzedawcy
/// </summary>
public bool IsAvailable { get; set; }
}
}