from django.db import models class UserAccountTypeChoices(models.IntegerChoices): """ 用户账号类型 """ NORMAL = 1, '普通用户' ADMIN = 2, '管理员'