Last change
on this file since 5010 was
4979,
checked in by jwolfing, 14 years ago
|
#1196 Changed BaseClasses in Data Transfer Objects, added Methods to User and Role ServiceClasses
|
File size:
981 bytes
|
Rev | Line | |
---|
[4584] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Runtime.Serialization;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.Services.Authentication.DataTransfer
|
---|
| 8 | {
|
---|
[4740] | 9 | [DataContract]
|
---|
[4979] | 10 | public class Role : NamedAuthenticationItem {
|
---|
[4789] | 11 |
|
---|
| 12 | public Role()
|
---|
| 13 | {
|
---|
| 14 | Name = "";
|
---|
| 15 | }
|
---|
| 16 |
|
---|
[4740] | 17 | [DataMember]
|
---|
| 18 | public Guid ApplicationId { get; set; }
|
---|
[4979] | 19 | //[DataMember]
|
---|
| 20 | //public string LoweredRoleName { get; set; } // !!! REMOVE
|
---|
[4740] | 21 | [DataMember]
|
---|
[4789] | 22 | public string Description { get; set; }
|
---|
[4740] | 23 | }
|
---|
| 24 | //[DataContract]
|
---|
| 25 | //public class Role
|
---|
| 26 | //{
|
---|
| 27 | // [DataMember]
|
---|
| 28 | // public Guid ApplicationId { get; set; }
|
---|
| 29 | // [DataMember]
|
---|
| 30 | // public Guid RoleId { get; set; }
|
---|
| 31 | // [DataMember]
|
---|
| 32 | // public string RoleName { get; set; }
|
---|
[4789] | 33 | //[DataMember]
|
---|
| 34 | //public string LoweredRoleName { get; set; }
|
---|
[4740] | 35 | // [DataMember]
|
---|
| 36 | // public string Description { get; set; }
|
---|
| 37 | //}
|
---|
[4584] | 38 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.