ningshuxia
2023-03-11 8bf5f0281d3343160e76f7b79dacba9658f1c115
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
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
 
namespace IStation.Model
{
    /// <summary>
    /// 角色授权
    /// </summary>    
    public partial class RoleMenuMapping : System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public RoleMenuMapping() { }
 
        /// <summary>
        /// 
        /// </summary>
        public RoleMenuMapping(RoleMenuMapping rhs)
        {
            this.ID = rhs.ID;
            this.RoleID = rhs.RoleID;
            this.AuthLevel = rhs.AuthLevel;
            this.MenuID = rhs.MenuID; 
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void Reset(RoleMenuMapping rhs)
        {
            this.ID = rhs.ID;
            this.RoleID = rhs.RoleID;
            this.AuthLevel = rhs.AuthLevel;
            this.MenuID = rhs.MenuID;
        }
 
        /// <summary>
        /// 标识
        /// </summary>    
        public long ID { get; set; }
 
        /// <summary>
        /// 角色标识
        /// </summary>    
        public long RoleID { get; set; }
 
        /// <summary>
        /// 权限等级
        /// </summary>    
        public eAuthLevel AuthLevel { get; set; }
 
        /// <summary>
        /// 菜单标识
        /// </summary>    
        public long MenuID { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public RoleMenuMapping Clone()
        {
            return (RoleMenuMapping)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}