예제 #1
0
 public AdminLookupItemModel(SystemLookupItem entity)
 {
     Id            = entity.Id;
     CanonicalName = entity.CanonicalName;
     DisplayName   = entity.DisplayName;
     Values        = AdminLookupItemValueModel.Construct(entity.Values);
 }
 public AdminPhoneNumberModel(SystemPhoneNumber entity)
 {
     Number = entity.Number;
     Type   = new AdminLookupItemValueModel(entity.Type);
 }
 public AdminEmailAddressModel(SystemEmailAddress entity)
 {
     Address = entity.Address;
     Type    = new AdminLookupItemValueModel(entity.Type);
 }