BaseModel,Basic Database operation