package dto // SetOperationPasswordRequest 设置全局操作密码请求 type SetOperationPasswordRequest struct { Password string `json:"password" validate:"required,min=6,max=50" required:"true" minLength:"6" maxLength:"50" description:"新操作密码,长度 6~50 位"` ConfirmPassword string `json:"confirm_password" validate:"required" required:"true" description:"确认密码,必须与 password 一致"` } // OperationPasswordStatusResponse 操作密码状态响应 type OperationPasswordStatusResponse struct { IsSet bool `json:"is_set" description:"操作密码是否已设置"` }