Skip to content

Commit

Permalink
Merge pull request #942 from zharkovstas/master
Browse files Browse the repository at this point in the history
Add PowerOfAttorneyIssuerIndividualEntity organization name
  • Loading branch information
zharkovstas authored Feb 3, 2022
2 parents 4362a03 + b1bd21d commit cc026ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion proto/PowersOfAttorney/PowerOfAttorney.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ message PowerOfAttorneyIssuerForeignEntity {

message PowerOfAttorneyIssuerIndividualEntity {
required string Inn = 1;
optional FullName PersonName = 2;
required string OrganizationName = 3;
}

message PowerOfAttorneyIssuerPhysicalEntity {
Expand Down
2 changes: 1 addition & 1 deletion src/Com/PowersOfAttorney.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public partial class PowerOfAttorneyIssuerForeignEntity : SafeComObject, IPowerO
public interface IPowerOfAttorneyIssuerIndividualEntity
{
string Inn { get; set; }
FullName PersonName { get; set; }
string OrganizationName { get; set; }
}

[ComVisible(true)]
Expand Down
12 changes: 5 additions & 7 deletions src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,12 @@ public string Inn
get { return _Inn; }
set { _Inn = value; }
}

private Diadoc.Api.Proto.FullName _PersonName = null;
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"PersonName", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public Diadoc.Api.Proto.FullName PersonName
private string _OrganizationName;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"OrganizationName", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string OrganizationName
{
get { return _PersonName; }
set { _PersonName = value; }
get { return _OrganizationName; }
set { _OrganizationName = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
Expand Down

0 comments on commit cc026ae

Please sign in to comment.