Subversion Repository Public Repository

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
using System;
using Newtonsoft.Json;

/*
    {
        "id" : "<Guid>",
        "companyName" : "<STRING>",
        “cabinetName” : ”<STRING>”
    }
*/          		


namespace M3Workflow.Data.Base
{
    [JsonObject(Id = "CompanyObject", Title = "company")]
    public sealed class CompanyObject
    {
        [JsonProperty(Order = 1, PropertyName = "id", Required = Required.Always)]
        public Guid Id { get; set; }

        [JsonProperty(Order = 2, PropertyName = "name", Required = Required.Always)]
        public string CompanyName { get; set; }


        public CompanyObject(Guid id, string companyName)
        {
            this.Id = id;
            this.CompanyName = companyName;
        }

    }
}

Commits for ChrisCompleteCodeTrunk/M3Workflow/M3Workflow.Data/Base/CompanyObject.cs

Diff revisions: vs.
Revision Author Commited Message
1 BBDSCHRIS picture BBDSCHRIS Wed 22 Aug, 2018 20:08:03 +0000