[R2] Add java doc
This commit is contained in:
parent
36b2a47c3f
commit
776c56a9be
@ -3,6 +3,12 @@ package com.mirna.hospitalmanagementapi.domain.dtos;
|
||||
import com.mirna.hospitalmanagementapi.domain.entities.Doctor;
|
||||
import com.mirna.hospitalmanagementapi.domain.enums.Specialty;
|
||||
|
||||
/**
|
||||
* Data transfer object used to format and display only the public data allowed for Doctor entity
|
||||
*
|
||||
* @author Mirna Gama
|
||||
* @version 1.0
|
||||
*/
|
||||
public record DoctorPublicDataDTO(String name, String email, String crm, Specialty specialty){
|
||||
|
||||
public DoctorPublicDataDTO(Doctor doctor){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user