Corrections de la PR

pull/1/head
Clement FERRERE 3 years ago
parent 363999950d
commit c07ec70fcd
  1. 390
      .gitignore
  2. 15
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/AgenceDto.cs
  3. 22
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/AgenceSqlDto.cs
  4. 17
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/BusinessUnitDto.cs
  5. 24
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/BusinessUnitSqlDto.cs
  6. 20
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurAppartientBusinessUnitDto.cs
  7. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurAppartientBusinessUnitSqlDto.cs
  8. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurCollaboreProjetDto.cs
  9. 23
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurCollaboreProjetSqlDto.cs
  10. 32
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurDto.cs
  11. 20
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurEffectuePeriodeEssaiDto.cs
  12. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurEffectuePeriodeEssaiSqlDto.cs
  13. 20
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurEstFonctionDto.cs
  14. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurEstFonctionSqlDto.cs
  15. 44
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/CollaborateurSqlDto.cs
  16. 2
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/EnumGenre.cs
  17. 2
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/EnumIssue.cs
  18. 2
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/EnumStatut.cs
  19. 15
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/FonctionDto.cs
  20. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/FonctionSqlDto.cs
  21. 19
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/PeriodeEssaiDto.cs
  22. 29
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/PeriodeEssaiSqlDto.cs
  23. 19
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ProjetDto.cs
  24. 29
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ProjetSqlDto.cs
  25. 20
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ProjetUtiliseTechnologieDto.cs
  26. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ProjetUtiliseTechnologieSqlDto.cs
  27. 23
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ReferencementDto.cs
  28. 27
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/ReferencementSqlDto.cs
  29. 20
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/SiteDeveloppeProjetDto.cs
  30. 21
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/SiteDeveloppeProjetSqlDto.cs
  31. 17
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/SiteDto.cs
  32. 25
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/SiteSqlDto.cs
  33. 15
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/TechnologieDto.cs
  34. 19
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql.dtos/TechnologieSqlDto.cs

390
.gitignore vendored

@ -399,3 +399,393 @@ FodyWeavers.xsd
# Local History for Visual Studio Code
.history/
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Nuget personal access tokens and Credentials
# nuget.config
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
.idea/
*.sln.iml
.Development

@ -1,15 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class AgenceDto
{
private Guid Id { get; set; }
private string Name { get; set; }
[ExcludeFromCodeCoverage]
private AgenceDto()
{
}
}
}

@ -0,0 +1,22 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class AgenceSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
[ExcludeFromCodeCoverage]
private AgenceSqlDto()
{
}
public AgenceSqlDto(Guid id, string name)
{
Id = id;
Name = name;
}
}
}

@ -1,17 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class BusinessUnitDto
{
private Guid Id { get; set; }
private string Name { get; set; }
private Guid AgenceId { get; set; }
[ExcludeFromCodeCoverage]
private BusinessUnitDto()
{
}
}
}

@ -0,0 +1,24 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class BusinessUnitSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public Guid AgenceId { get; set; }
[ExcludeFromCodeCoverage]
private BusinessUnitSqlDto()
{
}
public BusinessUnitSqlDto(Guid id, string name, Guid agenceId)
{
Id = id;
Name = name;
AgenceId = agenceId;
}
}
}

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurAppartientBusinessUnitDto
{
private Guid CollaborateurId { get; set; }
private Guid BusinessUnitId { get; set; }
[ExcludeFromCodeCoverage]
private CollaborateurAppartientBusinessUnitDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurAppartientBusinessUnitSqlDto
{
public Guid CollaborateurId { get; set; }
public Guid BusinessUnitId { get; set; }
[ExcludeFromCodeCoverage]
private CollaborateurAppartientBusinessUnitSqlDto()
{
}
public CollaborateurAppartientBusinessUnitSqlDto(Guid collaborateurId, Guid businessUnitId)
{
CollaborateurId = collaborateurId;
BusinessUnitId = businessUnitId;
}
}
}

@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class CollaborateurCollaboreProjetDto
{
private Guid CollaborateurId { get; set; }
private Guid ProjetId { get; set; }
private bool IsManager { get; set; }
[ExcludeFromCodeCoverage]
private CollaborateurCollaboreProjetDto()
{
}
}
}

@ -0,0 +1,23 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class CollaborateurCollaboreProjetSqlDto
{
public Guid CollaborateurId { get; set; }
public Guid ProjetId { get; set; }
public bool IsManager { get; set; }
[ExcludeFromCodeCoverage]
private CollaborateurCollaboreProjetSqlDto()
{
}
public CollaborateurCollaboreProjetSqlDto(Guid collaborateurId, Guid projetId, bool isManager)
{
CollaborateurId = collaborateurId;
ProjetId = projetId;
IsManager = isManager;
}
}
}

@ -1,32 +0,0 @@
using espacecollab.backend.infrastructure.sql.dtos.Enums;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class CollaborateurDto
{
private Guid Id { get; set; }
private string Name { get; set; }
private string FirstName { get; set; }
private DateTime BirthDate { get; set; }
private EnumGenre Gender { get; set; }
private EnumStatut Status { get; set; }
private int ChildrenNumber { get; set; }
private string Address { get; set; }
private string Telephone { get; set; }
private string PersonalMail { get; set; }
private string ApsideMail { get; set; }
private DateTime ResignationDate { get; set; }
private Guid ReferrerId { get; set; }
[ExcludeFromCodeCoverage]
private CollaborateurDto()
{
}
}
}

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurEffectuePeriodeEssaiDto
{
private Guid CollaborateurId { get; set; }
private Guid PeriodeEssaiId { get; set;}
[ExcludeFromCodeCoverage]
private CollaborateurEffectuePeriodeEssaiDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurEffectuePeriodeEssaiSqlDto
{
public Guid CollaborateurId { get; set; }
public Guid PeriodeEssaiId { get; set;}
[ExcludeFromCodeCoverage]
private CollaborateurEffectuePeriodeEssaiSqlDto()
{
}
public CollaborateurEffectuePeriodeEssaiSqlDto(Guid collaborateurId, Guid periodeEssaiId)
{
CollaborateurId = collaborateurId;
PeriodeEssaiId = periodeEssaiId;
}
}
}

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurEstFonctionDto
{
private Guid CollaborateurId { get; set; }
private Guid FonctionId { get; set;}
[ExcludeFromCodeCoverage]
private CollaborateurEstFonctionDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos.Associations
{
public class CollaborateurEstFonctionSqlDto
{
public Guid CollaborateurId { get; set; }
public Guid FonctionId { get; set;}
[ExcludeFromCodeCoverage]
private CollaborateurEstFonctionSqlDto()
{
}
public CollaborateurEstFonctionSqlDto(Guid collaborateurId, Guid fonctionId)
{
CollaborateurId = collaborateurId;
FonctionId = fonctionId;
}
}
}

@ -0,0 +1,44 @@
using espacecollab.backend.infrastructure.sql.dtos.Enums;
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class CollaborateurSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public string FirstName { get; set; }
public DateTime BirthDate { get; set; }
public EnumGenre Gender { get; set; }
public EnumStatut Status { get; set; }
public int ChildrenNumber { get; set; }
public string Address { get; set; }
public string Telephone { get; set; }
public string PersonalMail { get; set; }
public string ApsideMail { get; set; }
public DateTime ResignationDate { get; set; }
public Guid ReferrerId { 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)
{
Id = id;
Name = name;
FirstName = firstName;
BirthDate = birthDate;
Gender = gender;
Status = status;
ChildrenNumber = childrenNumber;
Address = address;
Telephone = telephone;
PersonalMail = personalMail;
ApsideMail = apsideMail;
ResignationDate = resignationDate;
ReferrerId = referrerId;
}
}
}

@ -1,6 +1,6 @@
namespace espacecollab.backend.infrastructure.sql.dtos.Enums
{
enum EnumGenre
public enum EnumGenre
{
MASCULIN,
FEMININ,

@ -1,6 +1,6 @@
namespace espacecollab.backend.infrastructure.sql.dtos
{
enum EnumIssue
public enum EnumIssue
{
VALIDEE,
PROLONGEE_COLLAB,

@ -1,6 +1,6 @@
namespace espacecollab.backend.infrastructure.sql.dtos.Enums
{
enum EnumStatut
public enum EnumStatut
{
CADRE,
NONCADRE,

@ -1,15 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class FonctionDto
{
private Guid Id { get; set; }
private string Name { get; set; }
[ExcludeFromCodeCoverage]
private FonctionDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class FonctionSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
[ExcludeFromCodeCoverage]
private FonctionSqlDto()
{
}
public FonctionSqlDto(Guid id, string name)
{
Id = id;
Name = name;
}
}
}

@ -1,19 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class PeriodeEssaiDto
{
private Guid Id { get; set; }
private DateTime StartingDate { get; set; }
private DateTime PlannedEndingDate { get; set; }
private DateTime RealEndingDate { get; set; }
private string Comment { get; set; }
private EnumIssue Issue { get; set; }
[ExcludeFromCodeCoverage]
private PeriodeEssaiDto()
{
}
}
}

@ -0,0 +1,29 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class PeriodeEssaiSqlDto
{
public Guid Id { get; set; }
public DateTime StartingDate { get; set; }
public DateTime PlannedEndingDate { get; set; }
public DateTime RealEndingDate { get; set; }
public string Comment { get; set; }
public EnumIssue Issue { get; set; }
[ExcludeFromCodeCoverage]
private PeriodeEssaiSqlDto()
{
}
public PeriodeEssaiSqlDto(Guid id, DateTime startingDate, DateTime plannedEndingDate, DateTime realEndingDate, string comment, EnumIssue issue)
{
Id = id;
StartingDate = startingDate;
PlannedEndingDate = plannedEndingDate;
RealEndingDate = realEndingDate;
Comment = comment;
Issue = issue;
}
}
}

@ -1,19 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ProjetDto
{
private Guid Id { get; set; }
private string Name { get; set; }
private string Client { get; set; }
private string Description { get; set; }
private DateTime StartingDate { get; set; }
private DateTime EndingDate { get; set; }
[ExcludeFromCodeCoverage]
private ProjetDto()
{
}
}
}

@ -0,0 +1,29 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ProjetSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Client { get; set; }
public string Description { get; set; }
public DateTime StartingDate { get; set; }
public DateTime EndingDate { get; set; }
[ExcludeFromCodeCoverage]
private ProjetSqlDto()
{
}
public ProjetSqlDto(Guid id, string name, string client, string description, DateTime startingDate, DateTime endingDate)
{
Id = id;
Name = name;
Client = client;
Description = description;
StartingDate = startingDate;
EndingDate = endingDate;
}
}
}

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ProjetUtiliseTechnologieDto
{
private Guid ProjetId { get; set; }
private Guid TechnologieId { get; set; }
[ExcludeFromCodeCoverage]
private ProjetUtiliseTechnologieDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ProjetUtiliseTechnologieSqlDto
{
public Guid ProjetId { get; set; }
public Guid TechnologieId { get; set; }
[ExcludeFromCodeCoverage]
private ProjetUtiliseTechnologieSqlDto()
{
}
public ProjetUtiliseTechnologieSqlDto(Guid projetId, Guid technologieId)
{
ProjetId = projetId;
TechnologieId = technologieId;
}
}
}

@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ReferencementDto
{
private Guid Id { get; set; }
private DateTime StartingDate { get; set; }
private DateTime EndingDate { get; set; }
private Guid ReferredId { get; set; }
private Guid ReferrerId { get; set; }
[ExcludeFromCodeCoverage]
private ReferencementDto()
{
}
}
}

@ -0,0 +1,27 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class ReferencementSqlDto
{
public Guid Id { get; set; }
public DateTime StartingDate { get; set; }
public DateTime EndingDate { get; set; }
public Guid ReferredId { get; set; }
public Guid ReferrerId { get; set; }
[ExcludeFromCodeCoverage]
private ReferencementSqlDto()
{
}
public ReferencementSqlDto(Guid id, DateTime startingDate, DateTime endingDate, Guid referredId, Guid referrerId)
{
Id = id;
StartingDate = startingDate;
EndingDate = endingDate;
ReferredId = referredId;
ReferrerId = referrerId;
}
}
}

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class SiteDeveloppeProjetDto
{
private Guid SiteId { get; set; }
private Guid ProjetId { get; set; }
[ExcludeFromCodeCoverage]
private SiteDeveloppeProjetDto()
{
}
}
}

@ -0,0 +1,21 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class SiteDeveloppeProjetSqlDto
{
public Guid SiteId { get; set; }
public Guid ProjetId { get; set; }
[ExcludeFromCodeCoverage]
private SiteDeveloppeProjetSqlDto()
{
}
public SiteDeveloppeProjetSqlDto(Guid siteId, Guid projetId)
{
SiteId = siteId;
ProjetId = projetId;
}
}
}

@ -1,17 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class SiteDto
{
private Guid Id { get; set; }
private string Name { get; set; }
private string Address { get; set; }
private Guid BusinessUnitId { get; set; }
[ExcludeFromCodeCoverage]
private SiteDto()
{
}
}
}

@ -0,0 +1,25 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class SiteSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public Guid BusinessUnitId { get; set; }
[ExcludeFromCodeCoverage]
private SiteSqlDto()
{
}
public SiteSqlDto(Guid id, string name, string address, Guid businessUnitId)
{
Id = id;
Name = name;
Address = address;
BusinessUnitId = businessUnitId;
}
}
}

@ -1,15 +0,0 @@
using System.Diagnostics.CodeAnalysis;
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class TechnologieDto
{
private Guid Id { get; set; }
private string Name { get; set; }
[ExcludeFromCodeCoverage]
private TechnologieDto()
{
}
}
}

@ -0,0 +1,19 @@
namespace espacecollab.backend.infrastructure.sql.dtos
{
public class TechnologieSqlDto
{
public Guid Id { get; set; }
public string Name { get; set; }
[ExcludeFromCodeCoverage]
private TechnologieSqlDto()
{
}
public TechnologieSqlDto(Guid id, string name)
{
Id = id;
Name = name;
}
}
}
Loading…
Cancel
Save