Commit 54856aa9 by Alex Nasyr

temp

parent 6dc56ee3
...@@ -27,6 +27,7 @@ namespace SocialMinistryDataExchange.Controllers { ...@@ -27,6 +27,7 @@ namespace SocialMinistryDataExchange.Controllers {
rowguid_eais = "223322", rowguid_eais = "223322",
PersonDocumentSeria = "V-II", PersonDocumentSeria = "V-II",
PersonDocumentNumber = "123456", PersonDocumentNumber = "123456",
PersonDocumentDate = DateTime.Parse("2010-01-01"),
PersonFamilyName = "Мкртчян", PersonFamilyName = "Мкртчян",
PersonName = "Василий", PersonName = "Василий",
PersonSurname = "Алибабаевич", PersonSurname = "Алибабаевич",
......
...@@ -2,6 +2,16 @@ ...@@ -2,6 +2,16 @@
namespace SocialMinistryDataExchange.Model { namespace SocialMinistryDataExchange.Model {
[Flags]
enum PersonSearchAttributes : byte {
PersonDocumentSeria = 1,
PersonDocumentNumber = 2,
PersonDocumentDate = 4,
PersonFamilyName = 8,
PersonName = 16,
PersonBirthday = 32,
}
public class SMData { public class SMData {
public SMData() { } public SMData() { }
public string rowguid_eais { get; set; } public string rowguid_eais { get; set; }
...@@ -23,17 +33,6 @@ namespace SocialMinistryDataExchange.Model { ...@@ -23,17 +33,6 @@ namespace SocialMinistryDataExchange.Model {
public string EducationProgram { get; set; } public string EducationProgram { get; set; }
public string EducationForm { get; set; } public string EducationForm { get; set; }
} }
[Flags]
enum PersonSearchAttributes : byte {
PersonDocumentSeria = 1,
PersonDocumentNumber = 2,
PersonFamilyName = 4,
PersonName = 8,
PersonBirthday = 16,
}
public class SMPersonRequest { public class SMPersonRequest {
public string rowguid_eais { get; set; } public string rowguid_eais { get; set; }
public string document_seria { get; set; } public string document_seria { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment