Add model for media.

This commit is contained in:
2020-04-15 01:54:07 +01:00
parent a4953807eb
commit b81d7180b5
4 changed files with 267 additions and 247 deletions

View File

@@ -1,11 +1,16 @@
using System.Collections.ObjectModel;
using Avalonia.Media.Imaging;
namespace Aaru.Gui.Models
{
public class DeviceModel
{
public DeviceModel() => Media = new ObservableCollection<MediaModel>();
public Bitmap Icon { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public ObservableCollection<MediaModel> Media { get; }
}
}