public AgriParcel(string id, DateTime dateCreated, DateTime dateModified, double[] location, double area, string description, string category, string[] hasAnimal) { this.id += id; this.dateCreated = new DateCreated(dateCreated); this.dateModified = new DateModified(dateModified); this.location = new Location(location); this.area = new Area(area); this.description = new Description(description); this.category = new Category(category); this.hasAnimal = new HasAnimal(hasAnimal); }
public AgriFarm(string id, DateTime dateCreated, DateTime dateModified, string name, string description, double[] location, double[] landLocation, string addressLocality, string addressCountry, string streetAddress, string[] hasAgriParcel) { this.id += id; this.dateCreated = new DateCreated(dateCreated); this.dateModified = new DateModified(dateModified); this.name = new Name(name); this.description = new Description(description); this.location = new Location(location); this.landLocation = new LandLocation(landLocation); address = new Address(addressLocality, addressCountry, streetAddress); this.hasAgriParcel = new HasAgriParcel(hasAgriParcel); }