switch_soul_config.py 546 B

123456789101112131415
  1. # This Python file uses the following encoding: utf-8
  2. # @author runhey
  3. # github https://github.com/runhey
  4. from pydantic import BaseModel, Field
  5. from enum import Enum
  6. from datetime import datetime, time
  7. class SwitchSoulConfig(BaseModel):
  8. enable: bool = Field(default=False)
  9. switch_group_team: str = Field(default='-1,-1', description='switch_group_team_help')
  10. enable_switch_by_name: bool = Field(default=False, description='enable_switch_by_name_help')
  11. group_name: str = Field(default='')
  12. team_name: str = Field(default='')