from datetime import datetime import peewee from werkzeug.security import generate_password_hash, check_password_hash from api.db import UserTenantRole from api.db.db_models import DB, UserTenant from api.db.db_models import User, Tenant, AppInfo from api.db.services.common_service import CommonService from api.utils import get_uuid, get_format_time, current_timestamp, datetime_format from api.db import StatusEnum class AppInfoService(CommonService): model = AppInfo