public InBoundOfShelf(InBound inBound, WarehouseShelf warehouseShelf, int qty, string note, string createUserId)
 {
     this.InBound        = inBound;
     this.WarehouseShelf = warehouseShelf;
     this.Qty            = qty;
     this.Note           = note;
     this.CreateUserId   = createUserId;
     this.CreateDate     = DateTime.Now;
 }
Beispiel #2
0
 public OutBound(InBound inBound, int qty, float price, string currency, string note, int createUserId)
 {
     this.InBound      = inBound;
     this.Product      = inBound.Product;
     this.Warehouse    = inBound.Warehouse;
     this.Qty          = qty;
     this.Price        = price;
     this.Currency     = currency;
     this.Note         = note;
     this.CreateUserId = createUserId;
     this.CreateDate   = DateTime.Now;
 }
Beispiel #3
0
 public OutBound(InBound inBound, InOutReason inOutReason, int qty, string note, Users user)
 {
     this.InBound     = inBound;
     this.Product     = inBound.Product;
     this.Warehouse   = inBound.Warehouse;
     this.InOutReason = inOutReason;
     this.Qty         = qty;
     this.Price       = inBound.Price;
     this.Currency    = inBound.Currency;
     this.Note        = note;
     this.User        = user;
     this.CreateDate  = DateTime.Now;
 }