Added new VM

This commit is contained in:
Karol Górzyński 2021-01-04 00:59:05 +01:00
parent ca0bbe22a4
commit 95f20adb03
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.ViewModels.UniversalModels
{
public class UniversalSkillViewModel
{
public string Name { get; set; }
public int Value { get; set; }
public bool Can { get; set; }
}
}

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.ViewModels.UniversalModels
{
public class UniversalStatisticViewModel
{
public int Id { get; set; }
public string Name { get; set; }
public int Value { get; set; }
public int Modification { get; set; }
public int SavingThrows { get; set; }
public bool CanSaveThrows { get; set; }
public List<UniversalSkillViewModel>? Skills { get; set; }
}
}