create RecordModel class