MCI18n/Models/ChapterModel.cs

26 lines
630 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MCI18n.Models
{
public partial class ChapterModel : ObservableObject
{
[ObservableProperty]
private string _id;
[ObservableProperty]
private string _groupId;
[ObservableProperty]
private string _name;
[ObservableProperty]
private string _title;
[ObservableProperty]
private ObservableCollection<QuestModel> _quests = [];
}
}