Пример #1
0
 public SaveData(PolicyInfo policyInfo)
 {
     this.PolicyTypeId        = policyInfo.PolicyType.Id == 0 ? new long?() : policyInfo.PolicyType.Id;
     this.Series              = policyInfo.Series;
     this.Number              = policyInfo.Number;
     this.UnifiedPolicyNumber = policyInfo.UnifiedPolicyNumber;
     this.StartDate           = policyInfo.StartDate;
     this.EndDate             = policyInfo.EndDate;
     this.OGRN  = policyInfo.OGRN;
     this.OKATO = policyInfo.OKATO;
 }
Пример #2
0
 public ClientVisit()
 {
     OldClientInfo       = new ClientVersion();
     NewClientInfo       = new ClientVersion();
     OldDocument         = new Document();
     NewDocument         = new Document();
     NewForeignDocument  = new Document();
     OldForeignDocument  = new Document();
     LivingAddress       = new Address();
     RegistrationAddress = new Address();
     OldPolicy           = new PolicyInfo();
     NewPolicy           = new PolicyInfo();
     Status         = new ReferenceItem();
     Registrator    = new User();
     DeliveryCenter = new DeliveryCenter();
     Representative = new Representative();
 }