duheng
2024-07-23 3fec42c6383aa3b8d65f744a93b8a918d7cc6e02
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
145
146
147
148
149
150
using Yw.Model;
 
namespace HStation.Model
{
    [SysType("xhs_employeemain")]
    public class EmployeeMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
    {
        public EmployeeMain()
        { }
 
        public EmployeeMain(EmployeeMain rhs)
        {
            this.ID = rhs.ID;
            this.ErpCode = rhs.ErpCode;//编号
            this.PositonName = rhs.PositonName;//职位名
            this.FirstName = rhs.FirstName;//姓名(英文就是第一个名)
            this.LastName = rhs.LastName;//姓名(英文名,才会用到)
            this.StaffStatus = rhs.StaffStatus;//在职状态 1 在职 0 离职
            this.Telephone = rhs.Telephone;//手机号
            this.DrawSignal = rhs.DrawSignal;//签名
            this.Email = rhs.Email;//电子邮箱
            this.AddTime = rhs.AddTime;//添加时间
            this.AddUser = rhs.AddUser;
 
            this.RequirePasswordReset = rhs.RequirePasswordReset;//登录时是否必须重置密码
 
            this.LastModifyUser = rhs.LastModifyUser;
            this.LastModifyTime = rhs.LastModifyTime;//最后修改时间
 
            this.Paras = rhs.Paras;
        }
 
        public void Reset(EmployeeMain rhs)
        {
            this.ID = rhs.ID;
            this.ErpCode = rhs.ErpCode;//编号
            this.PositonName = rhs.PositonName;//职位名
            this.FirstName = rhs.FirstName;//姓名(英文就是第一个名)
            this.LastName = rhs.LastName;//姓名(英文名,才会用到)
            this.StaffStatus = rhs.StaffStatus;//在职状态 1 在职 0 离职
            this.Telephone = rhs.Telephone;//手机号
            this.DrawSignal = rhs.DrawSignal;//签名
            this.Email = rhs.Email;//电子邮箱
            this.AddTime = rhs.AddTime;//添加时间
            this.AddUser = rhs.AddUser;
 
            this.RequirePasswordReset = rhs.RequirePasswordReset;//登录时是否必须重置密码
 
            this.LastModifyUser = rhs.LastModifyUser;
            this.LastModifyTime = rhs.LastModifyTime;//最后修改时间
 
            this.Paras = rhs.Paras;
        }
 
        /// <summary>
        /// 编号
        /// </summary>
        public string ErpCode { get; set; }
 
        /// <summary>
        /// 职位名
        /// </summary>
        public string PositonName { get; set; }
 
        /// <summary>
        /// 姓名(英文就是第一个名)
        /// </summary>
        public string FirstName { get; set; }
 
        /// <summary>
        /// 在职状态 1 在职 0 离职
        /// </summary>
        public int StaffStatus { get; set; }
 
        /// <summary>
        /// 手机号
        /// </summary>
        public string Telephone { get; set; }
 
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
 
        /// <summary>
        /// 添加用户
        /// </summary>
        public string AddUser { get; set; }
 
        /// <summary>
        /// 姓名(英文名,才会用到)
        /// </summary>
        public string LastName { get; set; }
 
        /// <summary>
        /// 登录时是否必须重置密码
        /// </summary>
        public int RequirePasswordReset { get; set; }
 
        /// <summary>
        /// 图纸上的签名
        /// </summary>
        public string DrawSignal { get; set; }
 
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }
 
        /// <summary>
        /// 最后修改用户
        /// </summary>
        public string LastModifyUser { get; set; }
 
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public string LastModifyTime { get; set; }
 
        /// <summary>
        /// 参数
        /// </summary>
        public Dictionary<string, string> Paras { get; set; }
 
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Flags { get; set; }
 
        /// <summary>
        /// 标志
        /// </summary>
        public string TagName { get; set; }
 
        /// <summary>
        /// 排序码
        /// </summary>
        public int SortCode { get; set; }
 
        public EmployeeMain Clone()
        {
            return (EmployeeMain)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
}