Initial import

This commit is contained in:
Paul Schneider
2014-07-16 20:35:03 +02:00
parent 0c865416ca
commit 04804b89a9
279 changed files with 12945 additions and 0 deletions

View File

@ -0,0 +1,39 @@
using System;
using SalesCatalog.Model;
using yavscModel.WorkFlow;
namespace WorkFlow
{
public class WFOrder : IWFCommand
{
private Product p;
private DateTime date;
private string catref;
public WFOrder(Product prod,string catalogReference){
date = DateTime.Now;
catref=catalogReference;
p = prod;
}
public override string ToString ()
{
return string.Format ("[Commande date={0} prodref={1}, cat={2}]",date,p.Reference,catref);
}
#region IWFCommand implementation
public string CatalogReference {
get {
return catref;
}
}
public DateTime OrderDate {
get {
return date;
}
}
#endregion
}
}