def by_id(cls, user_id): return Database.get_one_by(User, User.id == user_id)
def by_name(cls, username): return Database.get_one_by(User, User.username == username)
def by_id(cls, poiId): return Database.get_one_by(Meishi, Meishi.poiId == poiId)
def by_id(cls, file_id): return Database.get_one_by(Dianying, Dianying.file_id == file_id)
def by_hash_id(cls, hash_id): return Database.get_one_by(Programming, Programming.hash_id == hash_id)