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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.ComponentModel;
using SqlSugar;
 
namespace XImagingXhandler.XDAL
{
    /// <summary>
    /// ÒºÌåÀàÐÍʵÌåÀà
    /// </summary>
    [SugarTable("liquidtype")]
    public class LiquidType : TreeViewItemBase
    {
        /// <summary>
        ///ÒºÌ巶Χ¶ÔÏ󼯺Ï
        /// </summary>
        [SugarColumn(IsIgnore = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public ObservableCollection<LiquidRange> LiquidRanges { get; set; }
        public LiquidType()
        {
            this.LiquidRanges = new ObservableCollection<LiquidRange>();
        }
 
        public event PropertyChangedEventHandler PropertyChanged;
        private string _liquid_type_id;
        /// <summary>
        /// ÒºÌåÀàÐÍId
        /// </summary>
        [SugarColumn(ColumnName = "liquid_type_id", IsPrimaryKey = true)]
        [Description("ÒºÌåÀàÐÍId")]
        public string liquid_type_id
        {
            get { return _liquid_type_id; }
            set
            {
                _liquid_type_id = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_type_id)));
                }
            }
        }
 
        private string _liquid_type_name;
        /// <summary>
        /// ÒºÌåÀàÐÍÃû³Æ
        /// </summary>
        [SugarColumn(ColumnName = "liquid_type_name")]
        [Description("ÒºÌåÀàÐÍÃû³Æ")]
        public string liquid_type_name
        {
            get { return _liquid_type_name; }
            set
            {
                _liquid_type_name = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_type_name)));
                }
            }
        }
 
        private string _liquid_type_name_en;
        /// <summary>
        /// ÒºÌåÀàÐÍÓ¢ÎÄÃû³Æ
        /// </summary>
        [SugarColumn(ColumnName = "liquid_type_name_en")]
        [Description("ÒºÌåÀàÐÍÓ¢ÎÄÃû³Æ")]
        public string liquid_type_name_en
        {
            get { return _liquid_type_name_en; }
            set
            {
                _liquid_type_name_en = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_type_name_en)));
                }
            }
        }
 
        private int _is_default_type;
        /// <summary>
        /// ÊÇ·ñÊÇĬÈÏÀàÐÍ£»1£ºÊÇ£»0£º²»ÊÇ
        /// </summary>
        [SugarColumn(ColumnName = "is_default_type")]
        [Description("ÊÇ·ñÊÇĬÈÏÀàÐÍ")]
        public int is_default_type
        {
            get { return _is_default_type; }
            set
            {
                _is_default_type = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(is_default_type)));
                }
            }
        }
 
        private DateTime _timestamp;
        /// <summary>
        /// ¸üÐÂʱ¼ä
        /// </summary>
        [SugarColumn(ColumnName = "timestamp")]
        [Description("¸üÐÂʱ¼ä")]
        public DateTime timestamp
        {
            get { return _timestamp; }
            set
            {
                _timestamp = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(timestamp)));
                }
            }
        }
 
        private int _liquid_type_status { get; set; }
        /// <summary>
        /// ´ËÌõÊý¾Ý״̬1:¿ÉÓã»0£ºÉ¾³ý
        /// </summary>
        [SugarColumn(ColumnName = "liquid_type_status")]
        [Description("Êý¾Ý״̬")]
        public int liquid_type_status
        {
            get { return _liquid_type_status; }
            set
            {
                _liquid_type_status = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(liquid_type_status)));
                }
            }
        }
 
    }
}