Files
mp-pilates/packages/server/src/auth/dto/login.dto.ts
richarjiang a1a91f96d8 feat(server): add auth, user, and studio modules
Auth: WeChat login, JWT, roles guard (24 tests passing)
User: profile CRUD, training stats with month/total calculations
Studio: config management with auto-default creation
2026-04-02 12:12:18 +08:00

8 lines
128 B
TypeScript

import { IsString, IsNotEmpty } from 'class-validator'
export class LoginDto {
@IsString()
@IsNotEmpty()
code!: string
}