ningshuxia
2022-09-21 d994f82c57d350f7b85f96dfe8f18369cadc0cec
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
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
 
namespace IStation.Entity
{
    /// <summary>
    /// 设备费用记录
    /// </summary>
    [SugarTable("product_cost_record")]
    public class ProductCostRecord :CorpTraceEntity,ISorter,IUseStatus, System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public ProductCostRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public ProductCostRecord(ProductCostRecord rhs):base(rhs)
        {
            this.ProductID = rhs.ProductID;
            this.CostCatalog = rhs.CostCatalog;
            this.CostType = rhs.CostType;
            this.CostContent = rhs.CostContent;
            this.CostTime = rhs.CostTime;
            this.CostValue = rhs.CostValue;
            this.SortCode = rhs.SortCode;
            this.UseStatus = rhs.UseStatus;
            this.Description = rhs.Description;
        }
 
        /// <summary>
        /// 设备标识
        /// </summary>    
        public long ProductID
        {
            get { return _productid; }
            set { _productid = value; }
        }
        private long _productid;
 
        /// <summary>
        /// 费用类别
        /// </summary>    
        public string CostCatalog
        {
            get { return _costcatalog; }
            set { _costcatalog = value; }
        }
        private string _costcatalog;
 
        /// <summary>
        /// 费用类型
        /// </summary>    
        public string CostType
        {
            get { return _costtype; }
            set { _costtype = value; }
        } 
        private string _costtype;
 
        /// <summary>
        /// 费用明细
        /// </summary>    
        public string CostContent
        {
            get { return _costcontent; }
            set { _costcontent = value; }
        }
        private string _costcontent;
 
        /// <summary>
        /// 费用时间
        /// </summary>    
        public DateTime CostTime
        {
            get { return _costtime; }
            set { _costtime = value; }
        } 
        private DateTime _costtime;
 
        /// <summary>
        /// 费用
        /// </summary>    
        public double CostValue
        {
            get { return _costvalue; }
            set { _costvalue = value; }
        }
        private double _costvalue;
 
 
        /// <summary>
        /// 使用状态
        /// </summary>    
        public int UseStatus
        {
            get { return _usestatus; }
            set { _usestatus = value; }
        }
        private int _usestatus;
 
        /// <summary>
        /// 排序码
        /// </summary>    
        public int SortCode
        {
            get { return _sortcode; }
            set { _sortcode = value; }
        }
        private int _sortcode;
 
        /// <summary>
        /// 说明
        /// </summary>    
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        private string _description;
 
        /// <summary>
        /// 
        /// </summary>
        public ProductCostRecord Clone()
        {
            return (ProductCostRecord)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}