lixiaojun
2023-04-12 2be5d90e96f163c67101571f6865b17effcb0f3f
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
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
 
namespace IStation.Entity
{
    /// <summary>
    /// 用户角色映射
    /// </summary>
    [SugarTable("user_role_mapping")]
    public class UserRoleMapping :BaseEntity, System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public UserRoleMapping() { }
 
        /// <summary>
        /// 
        /// </summary>
        public UserRoleMapping(UserRoleMapping rhs):base(rhs)
        {
            this.UserID = rhs.UserID;
            this.RoleID = rhs.RoleID;
        }
 
        /// <summary>
        /// 用户标识
        /// </summary>    
        public long UserID
        {
            get { return _userid; }
            set { _userid = value; }
        }
        private long _userid;
 
        /// <summary>
        /// 角色标识
        /// </summary>    
        public long RoleID
        {
            get { return _roleid; }
            set { _roleid = value; }
        }
        private long _roleid;
 
        /// <summary>
        /// 
        /// </summary>
        public UserRoleMapping Clone()
        {
            return (UserRoleMapping)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}