public CreatDetailsCommand(CreateRandomDetail randomDetail) { this.randomDetail = randomDetail; }
public CreateCarCommand(Factory factory, CreateRandomDetail randomDetail) { this.factory = factory; this.randomDetail = randomDetail; }