updateUserPasswordDto.ts 453 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Generated by orval v7.0.1 🍺
  3. * Do not edit manually.
  4. * OpenAPI definition
  5. * OpenAPI spec version: v0
  6. */
  7. /**
  8. * 用户密码修改使用的DTO
  9. */
  10. export interface UpdateUserPasswordDto {
  11. /**
  12. * 用户ID
  13. * @minLength 1
  14. */
  15. id: string;
  16. /**
  17. * 用户的新密码
  18. * @minLength 4
  19. * @maxLength 20
  20. */
  21. oldPassword: string;
  22. /**
  23. * 用户的当前密码
  24. * @minLength 4
  25. * @maxLength 20
  26. */
  27. password: string;
  28. }