예제 #1
0
 public StockDetail(NewStock form)
 {
     // StockId = form.StockId;
     InitialQuantity  = form.InitialQuantity;
     RemainingBalance = form.InitialQuantity;
     ReorderBalance   = form.ReorderBalance;
     GRN_Number       = form.GRN_Number;
 }
예제 #2
0
 public Stock(NewStock form)
 {
     ProductId        = form.ProductId;
     UnitePrice       = form.UnitePrice;
     InitialQuantity  = form.InitialQuantity;
     RemainingBalance = form.InitialQuantity;
     ReorderBalance   = form.ReorderBalance;
     GRN_Number       = form.GRN_Number;
 }