duheng
2025-01-10 2b31b7e3926134da96d384ab3bdac345691a179c
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
using System.ComponentModel.DataAnnotations;
using Yw.Vmo;
 
namespace HStation.WinFrmUI
{
    public class UserRoleHaveViewModel
    {
        public UserRoleHaveViewModel()
        { }
 
        public UserRoleHaveViewModel(Yw.Vmo.UserRoleHave rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.UseStatus = rhs.UseStatus;
            this.Have = rhs.Have;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
 
        public long ID { get; set; }
 
        [Display(Name = "名称")]
        public string Name { get; set; }
 
        [Display(Name = "编码")]
        public string Code { get; set; }
 
        [Display(Name = "状态")]
        public eUseStatus UseStatus { get; set; }
 
        [Display(Name = "排序码")]
        public int SortCode { get; set; }
 
        [Display(Name = "说明")]
        public string Description { get; set; }
 
        [Display(Name = "选择")]
        public bool Have { get; set; }
    }
}