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
29
30
31
32
33
|
using Newtonsoft.Json;
using System;
namespace M3Workflow.Data.Base
{
[JsonObject(Id = "AccountPostDataObject", Title = "accountPost")]
public class AccountPostDataObject
{
[JsonProperty(Order = 1, PropertyName = "account", Required = Required.Always)]
public string Account { get; set; }
[JsonProperty(Order = 2, PropertyName = "amount", Required = Required.Always)]
public decimal Amount { get; set; }
[JsonProperty(Order = 3, PropertyName = "capital", Required = Required.Always)]
public bool Capital { get; set; }
[JsonProperty(Order = 4, PropertyName = "order", Required = Required.AllowNull)]
public int? Order { get; set; }
[JsonProperty(Order = 5, PropertyName = "description", Required = Required.AllowNull)]
public string Description { get; set; }
public AccountPostDataObject(string account, decimal amount, bool capital, int? order = null, string description = null)
{
this.Account = account;
this.Amount = amount;
this.Capital = capital;
this.Order = order;
this.Description = description;
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|