class NotificationRequest(BaseModel):
    user_id: int = Field(..., gt=0, description="用户ID")
    notification: Union[EmailNotification, SMSNotification, PushNotification] = Field(..., description="通知内容")
    priority: int = Field(default=1, ge=1, le=5, description="优先级(1-5)")
