schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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));
            }
        }
    }
}