public virtual ShipmentReceiptImageStateRemovedDto NewShipmentReceiptImageStateRemoved(string sequenceId) { var e = new ShipmentReceiptImageStateRemovedDto(); var eId = NewShipmentReceiptImageEventId(sequenceId); e.ShipmentReceiptImageEventId = eId; return(e); }
public virtual ShipmentReceiptImageStateRemovedDto ToShipmentReceiptImageStateRemovedDto(IShipmentReceiptImageStateRemoved e) { var dto = new ShipmentReceiptImageStateRemovedDto(); dto.ShipmentReceiptImageEventId = e.ShipmentReceiptImageEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; return(dto); }