create record class
create record class