public CharterpartyChanged(SpotCharterId spotId, Login login, int version, CounterpartyId charterpartyId, string name) : base(spotId, login, version) { this.CharterpartyId = charterpartyId; this.CurrentName = name; }
public SpotCharterCreated(SpotCharterId spotId, Login login, DateTime charterpartyDate, CounterpartyId charterpartyId, string charterpartyCurrentName, VesselId vesselId, string vesselCurrentName, CargoQuantity minimumQuantity) : base(spotId, login) { this.CharterpartyDate = charterpartyDate; this.CounterpartyId = charterpartyId; this.CounterpartyCurrentName = charterpartyCurrentName; this.VesselId = vesselId; this.VesselCurrentName = vesselCurrentName; this.MinimumQuantity = minimumQuantity; }