Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.mobility.api.domain.auth.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;

public record TransporterLoginReq(

@Schema(description = "기사 전화번호", example = "010-1234-1234")
String phone
) {}
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
package com.mobility.api.domain.auth.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;

public record TransporterSignupReq(
@Schema(description = "기사 이름", example = "김기사")
String name,

@Schema(description = "기사 전화번호", example = "010-1234-1234")
String phone,

@Schema(description = "자동배차 여부", example = "false")
Boolean isAutoDispatch
) {}
Loading