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

/*
    {
        "id" : "<Guid>",
        "propertyName" : "<STRING>"
    }
*/


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

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


        public PropertyObject(Guid id, string propertyName)
        {
            this.Id = id;
            this.PropertyName = propertyName;
        }

    }
}

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

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