forked from wangyx0055/DisklessSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClientGroupList.cs
75 lines (69 loc) · 1.8 KB
/
ClientGroupList.cs
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
// File: ClientGroupList.cs
// Author: Administrator
// Created: 2018年5月31日 10:52:47
// Purpose: Definition of Class ClientGroupList
using System;
/// 工作站分组列表
public class ClientGroupList
{
/// 工作站分组列表ID
public int clientGroupListId;
public Client client;
/// <summary>
/// Property for Client
/// </summary>
/// <pdGenerated>Default opposite class property</pdGenerated>
public Client Client
{
get
{
return client;
}
set
{
if (this.client == null || !this.client.Equals(value))
{
if (this.client != null)
{
Client oldClient = this.client;
this.client = null;
oldClient.RemoveClientGroupList(this);
}
if (value != null)
{
this.client = value;
this.client.AddClientGroupList(this);
}
}
}
}
public ClientGroup clientGroup;
/// <summary>
/// Property for ClientGroup
/// </summary>
/// <pdGenerated>Default opposite class property</pdGenerated>
public ClientGroup ClientGroup
{
get
{
return clientGroup;
}
set
{
if (this.clientGroup == null || !this.clientGroup.Equals(value))
{
if (this.clientGroup != null)
{
ClientGroup oldClientGroup = this.clientGroup;
this.clientGroup = null;
oldClientGroup.RemoveClientGroupList(this);
}
if (value != null)
{
this.clientGroup = value;
this.clientGroup.AddClientGroupList(this);
}
}
}
}
}