ChrisCompleteCodeTrunk
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
|
using Newtonsoft.Json;
using M3Workflow.Data.Base;
/*
{
"userName": "<STRING>",
"password": "<STRING>"
}
*/
namespace M3Workflow.Data
{
[JsonObject(Id = "AuthDataObject")]
public class AuthDataObject : JsonDataObject
{
[JsonProperty(Order = 1, PropertyName = "userName", Required = Required.Always)]
public string UserName { get; set; }
[JsonProperty(Order = 2, PropertyName = "password", Required = Required.Always)]
public string Password { get; set; }
public AuthDataObject(string userName, string password)
{
this.UserName = userName;
this.Password = password;
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|