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.
43 lines
775 B
43 lines
775 B
using Model;
|
|
using PersonalMVVMToolkit;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ViewModels
|
|
{
|
|
public class WorkVM : BaseViewModel<Work>
|
|
{
|
|
#region Fields
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public string Id
|
|
{
|
|
get => Model.Id;
|
|
set => SetProperty(Model.Id, value, v => Model.Id = value);
|
|
}
|
|
|
|
public string Description
|
|
{
|
|
get => Model.Description;
|
|
set => SetProperty(Model.Description, value, v => Model.Description = value);
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Constructor
|
|
|
|
public WorkVM(Work w) : base(w)
|
|
{
|
|
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|