Ejemplo n.º 1
0
 public Matherial(string name, MatherialType type, DateTime date, int number,
                  float pricePerOne, int manipulationId)
 {
     Id          = null;
     Name        = name;
     Type        = type;
     Date        = date;
     Number      = number;
     PricePerOne = pricePerOne;
     Summ        = number * pricePerOne;
     //Manipulation.Id = manipulationId;
 }
Ejemplo n.º 2
0
 public Matherial(string name, MatherialType type, DateTime date, int number,
                  float pricePerOne, Manipulation manipulation, Paragraph paragraph)
 {
     Id           = null;
     Name         = name;
     Type         = type;
     Date         = date;
     Number       = number;
     PricePerOne  = pricePerOne;
     Summ         = number * pricePerOne;
     Manipulation = manipulation;
     Paragraph    = paragraph;
 }