Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LegalIdentityReference.cs
1using System;
4
6{
12 [TypeName(TypeNameSerialization.None)]
13 [CollectionName("LegalIdentityReferences")]
14 [ArchivingTime(nameof(ArchiveDays))]
15 [Index("Country", "PNr")]
16 [Index("LegalId")]
18 {
19 private string objectId = null;
20 private CaseInsensitiveString country = null;
21 private CaseInsensitiveString pnr = null;
22 private CaseInsensitiveString legalId = null;
23 private CaseInsensitiveString provider = null;
24 private int archiveDays = 0;
25
32 {
33 }
34
35 [ObjectId]
36 public string ObjectId
37 {
38 get => this.objectId;
39 set => this.objectId = value;
40 }
41
46 {
47 get => this.country;
48 set => this.country = value;
49 }
50
55 {
56 get => this.pnr;
57 set => this.pnr = value;
58 }
59
64 {
65 get => this.legalId;
66 set => this.legalId = value;
67 }
68
72 [DefaultValueNull]
74 {
75 get => this.provider;
76 set => this.provider = value;
77 }
78
82 public int ArchiveDays
83 {
84 get => this.archiveDays;
85 set => this.archiveDays = value;
86 }
87
88 }
89}
Represents a case-insensitive string.
TypeNameSerialization
How the type name should be serialized.