Line | |
---|
1 | using System.Runtime.Serialization;
|
---|
2 | using System.Collections.Generic;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Services.Authentication.DataTransfer {
|
---|
5 | [DataContract]
|
---|
6 | public abstract class Resource {
|
---|
7 | public enum ResourceTypes { Client, ResourceGroup };
|
---|
8 |
|
---|
9 | [DataMember]
|
---|
10 | public System.Guid Id { get; set; }
|
---|
11 | [DataMember]
|
---|
12 | public string Name { get; set; }
|
---|
13 | [DataMember]
|
---|
14 | public string Description { get; set; }
|
---|
15 | [DataMember]
|
---|
16 | public ResourceTypes ResourceType { get; set; }
|
---|
17 | [DataMember]
|
---|
18 | public IEnumerable<System.Guid> ResourceGroup { get; set; }
|
---|
19 | }
|
---|
20 | }
|
---|
21 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.