Пример #1
0
 public static StoreTransferDetailModel From(StoreTransferDetail storeTransferDetail)
 {
     return new StoreTransferDetailModel(storeTransferDetail);
 }
Пример #2
0
 public StoreTransferDetailModel(StoreTransferDetail storeTransferDetail)
     : base(storeTransferDetail)
 {
     if (storeTransferDetail.StoreTransfer != null)
     {
         this.StoreTransferId = storeTransferDetail.StoreTransfer.Id;
         this.StoreTransferCodeNo = storeTransferDetail.StoreTransfer.CodeNo;
     }
 }