[R1] Add missing field for speciality and refactor the address one
This commit is contained in:
parent
8d7402cab5
commit
3e30913233
@ -21,7 +21,8 @@ public class Doctor {
|
||||
this.email=doctorDTO.email();
|
||||
this.crm=doctorDTO.email();
|
||||
this.telephone=doctorDTO.telephone();
|
||||
this.address = new Address(doctorDTO.addressDTO());
|
||||
this.speciality=doctorDTO.speciality();
|
||||
this.address = new Address(doctorDTO.address());
|
||||
}
|
||||
|
||||
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user