title: Java - Model class with so many properties vs one single HashMap<key,value>
body: <p>I am trying to read multiple text files ( each file having different layouts / schema's).</p>
  
  <p>Currently my Model class have more than 40 properties and its kind of hard coded.</p>
  
  <p>I am planning to use HashMap&lt;>, so everytime any new file comes, i can read the file without changing the model class by adding more properties.</p>
  
  <p>But is this correct way to do it?</p>
  
  <p>Please advise.</p>