add base entity and base dao interface