using Prism.Mvvm;
using System.ComponentModel.DataAnnotations;
namespace PLCSharp.VVMs.Homepage
{
///
/// 画布配置类
///
public class CanvasConfig : BindableBase
{
///
/// 唯一标识
///
[Key]
public Guid ID { get; set; } = Guid.NewGuid();
///
/// 配方标识
///
public Guid RecipeID { get; set; }
private int _Rows;
///
/// 画布名称
///
public int Rows
{
get { return _Rows; }
set { SetProperty(ref _Rows, value); }
}
private int _Columns;
///
/// 画布名称
///
public int Columns
{
get { return _Columns; }
set { SetProperty(ref _Columns, value); }
}
}
}