|
|
|
@ -1,5 +1,4 @@ |
|
|
|
|
using espacecollab.backend.infrastructure.sql.dtos.Enums; |
|
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
|
|
|
|
|
|
namespace espacecollab.backend.infrastructure.sql.dtos |
|
|
|
|
{ |
|
|
|
@ -18,13 +17,14 @@ namespace espacecollab.backend.infrastructure.sql.dtos |
|
|
|
|
public string ApsideMail { get; set; } |
|
|
|
|
public DateTime ResignationDate { get; set; } |
|
|
|
|
public Guid ReferrerId { get; set; } |
|
|
|
|
public Guid BusinessUnitId { get; set; } |
|
|
|
|
|
|
|
|
|
[ExcludeFromCodeCoverage] |
|
|
|
|
private CollaborateurSqlDto() |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CollaborateurSqlDto(Guid id, string name, string firstName, DateTime birthDate, EnumGenre gender, EnumStatut status, int childrenNumber, string address, string telephone, string personalMail, string apsideMail, DateTime resignationDate, Guid referrerId) |
|
|
|
|
public CollaborateurSqlDto(Guid id, string name, string firstName, DateTime birthDate, EnumGenre gender, EnumStatut status, int childrenNumber, string address, string telephone, string personalMail, string apsideMail, DateTime resignationDate, Guid referrerId, Guid businessUnitId) |
|
|
|
|
{ |
|
|
|
|
Id = id; |
|
|
|
|
Name = name; |
|
|
|
@ -39,6 +39,7 @@ namespace espacecollab.backend.infrastructure.sql.dtos |
|
|
|
|
ApsideMail = apsideMail; |
|
|
|
|
ResignationDate = resignationDate; |
|
|
|
|
ReferrerId = referrerId; |
|
|
|
|
BusinessUnitId = businessUnitId; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|