public Resistance(ResistanceData data) { ResistanceType = data.ResistanceType; Amount = data.Amount; }