1 public static class LoginUserClass
2 {
3 private static int loginUserClassID;
4 public static int LoginUserClassID
5 {
6 get
7 {
8 if (loginUserClassID == 0)
9 {
10 return 2;
11 }
12 else
13 {
14 return loginUserClassID;
15 }
16 }
17 set
18 {
19 loginUserClassID = value;
20 }
21 }
22
23 private static string loginUserClassCode;
24 public static string LoginUserClassCode
25 {
26 get
27 {
28 if (loginUserClassCode == null)
29 {
30 return "001";
31 }
32 else
33 {
34 return loginUserClassCode;
35 }
36 }
37 set
38 {
39 loginUserClassCode = value;
40 }
41 }
42
43 private static string loginUserClassName;
44 public static string LoginUserClassName
45 {
46 get
47 {
48 if (loginUserClassName == null)
49 {
50 return "刘丁";
51 }
52 else
53 {
54 return loginUserClassName;
55 }
56 }
57 set
58 {
59 loginUserClassName =value ;
60 }
61 }
62 }