WebRole.cs
1.02 KB
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
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities
{
/// <summary>
/// 角色
/// </summary>
[Table("role")]
public class WebRole : Role
{
private string _name;
public string Name
{
get { return _name; }
set { _name = value; }
}
public string name
{
get { return _name; }
set { _name = value; }
}
private string menuAuthority;
[Column(Order = 5)]
[Required]
public string MenuAuthority
{
get { return menuAuthority; }
set { menuAuthority = value; }
}
private string menuAuthoritys;
[Column(Order = 6)]
[Required]
public string MenuAuthoritys
{
get { return menuAuthoritys; }
set { menuAuthoritys = value; }
}
}
}