/// <summary> /// Costructor to add a a new Enterprise /// </summary> /// <param name="project">int</param> /// <param name="name">string</param> /// <param name="craftGroup1">int</param> /// <param name="elaboration">string</param> /// <param name="offerList">string</param> /// <param name="craftGroup2">int</param> /// <param name="craftGroup3">int</param> /// <param name="craftGroup4">int</param> public Enterprise(Project project, string name, string elaboration, string offerList, CraftGroup craftGroup1, CraftGroup craftGroup2, CraftGroup craftGroup3, CraftGroup craftGroup4) { this.id = 0; this.project = project; this.name = name; this.elaboration = elaboration; this.offerList = offerList; this.craftGroup1 = craftGroup1; this.craftGroup2 = craftGroup2; this.craftGroup3 = craftGroup3; this.craftGroup4 = craftGroup4; }
/// <summary> /// Constructor to add a new Indexed Request /// </summary> /// <param name="index">int</param> /// <param name="craftGroup">CraftGroup</param> public IndexedCraftGroup(int index, CraftGroup craftGroup) : base(craftGroup) { this.index = index; }