using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace DataEntity
|
{
|
/// <summary>
|
/// 台面模板类
|
/// </summary>
|
public class TabletopTemplate:IEntity
|
{
|
private string _tabletopid { get; set; } = "";
|
/// <summary>
|
/// 模板Id
|
/// </summary>
|
[SugarColumn(ColumnName = "tabletopid", IsPrimaryKey = true)]
|
[Description("模板Id")]
|
public string tabletopid
|
{
|
get { return _tabletopid; }
|
set
|
{
|
if (tabletopid == value) return;
|
_tabletopid = value;
|
OnPropertyChanged(nameof(tabletopid));
|
}
|
}
|
|
private string _tabletopname { get; set; } = "";
|
/// <summary>
|
/// 模板名称
|
/// </summary>
|
[SugarColumn(ColumnName = "tabletopname")]
|
[Description("模板名称")]
|
public string tabletopname
|
{
|
get { return _tabletopname; }
|
set
|
{
|
if (tabletopname == value) return;
|
_tabletopname = value;
|
OnPropertyChanged(nameof(tabletopname));
|
}
|
}
|
|
private int _tabletopstate { get; set; } = 1;
|
/// <summary>
|
/// 模板状态:1:有效;0:已删除;
|
/// </summary>
|
[SugarColumn(ColumnName = "tabletopstate")]
|
[Description("模板状态")]
|
public int tabletopstate
|
{
|
get { return _tabletopstate; }
|
set
|
{
|
if (tabletopstate == value) return;
|
_tabletopstate = value;
|
OnPropertyChanged(nameof(tabletopstate));
|
}
|
}
|
|
private int _usestate { get; set; } = 0;
|
/// <summary>
|
/// 模板使用状态:1:使用中;0:未使用;
|
/// </summary>
|
[SugarColumn(ColumnName = "usestate")]
|
[Description("模板使用状态")]
|
public int usestate
|
{
|
get { return _usestate; }
|
set
|
{
|
if (usestate == value) return;
|
_usestate = value;
|
OnPropertyChanged(nameof(usestate));
|
}
|
}
|
}
|
}
|