[R1] DTOs for Doctor and Address
This commit is contained in:
parent
06e606b883
commit
50181b7e8f
@ -0,0 +1,5 @@
|
||||
package com.mirna.hospitalmanagementapi.domain.dtos;
|
||||
|
||||
public record AddressDTO(String street, String neighborhood, String zipCode, String city, String state,
|
||||
String additionalDetails, String houseNumber) {
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.mirna.hospitalmanagementapi.domain.dtos;
|
||||
|
||||
import com.mirna.hospitalmanagementapi.domain.enums.Speciality;
|
||||
|
||||
public record DoctorDTO(String name, String email, String crm, String telephone, Speciality speciality, AddressDTO addressDTO) {
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user