40 lines
814 B
C#
40 lines
814 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QuickMVVMSetup
|
|
{
|
|
public class Person : ChangeNotifier
|
|
{
|
|
//poco model & dto model
|
|
|
|
private string _FName;
|
|
|
|
public string FName
|
|
{
|
|
get { return _FName; }
|
|
set { _FName = value; OnPropertyChanged(nameof(FName)); }
|
|
}
|
|
|
|
private string _LName;
|
|
|
|
public string LName
|
|
{
|
|
get { return _LName; }
|
|
set { _LName = value; OnPropertyChanged(nameof(LName)); }
|
|
}
|
|
|
|
private string _Age;
|
|
|
|
public string Age
|
|
{
|
|
get { return _Age; }
|
|
set { _Age = value; OnPropertyChanged(nameof(Age)); }
|
|
}
|
|
|
|
}
|
|
}
|