public OrderProductUpdateVO(OrderProductCreateVO ordp) { this.ID = ordp.ID; this.ProductID = ordp.ProductID; this.Name = ordp.Name; this.Quantity = ordp.Quantity; this.Amount = ordp.Amount; this.TotalAmount = ordp.TotalAmount; }
public OrderProductCreateVO(OrderProductCreateVO ordp) { this.ProductID = ordp.ProductID; this.Name = ordp.Name; this.Quantity = ordp.Quantity; this.Amount = ordp.Amount; this.TotalAmount = ordp.TotalAmount; CreatedAt = DateTime.Now; UpdatedAt = DateTime.Now; }