wrote entity class - Data