Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
B
brainboost-common
Gestion
Activité
Membres
Labels
Programmation
Tickets
0
Tableaux des tickets
Jalons
Wiki
Jira
Code
Requêtes de fusion
0
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Service d'assistance
Analyse
Données d'analyse des chaînes de valeur
Contributor analytics
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
marketing confort
brainboost
brainboost-common
Validations
be55bf2d
Valider
be55bf2d
rédigé
il y a 2 semaines
par
zakariaeyahya
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
modification dans entites historiquesÃ
parent
81440b5d
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
1 requête de fusion
!48
Resolve IA-439 "Feauture/"
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
src/main/java/com/marketingconfort/brainboost_common/assistant_devoir/models/AssistantConfigurationHistory.java
+8
-8
8 ajouts, 8 suppressions
...ssistant_devoir/models/AssistantConfigurationHistory.java
avec
8 ajouts
et
8 suppressions
src/main/java/com/marketingconfort/brainboost_common/assistant_devoir/models/AssistantConfigurationHistory.java
+
8
−
8
Voir le fichier @
be55bf2d
...
...
@@ -7,7 +7,7 @@ import java.time.LocalDateTime;
@Entity
@Table
(
name
=
"assistant_configuration_history"
,
indexes
=
{
@Index
(
name
=
"idx_assistant_config_history_assistant"
,
columnList
=
"assistant_id"
),
@Index
(
name
=
"idx_assistant_config_history_assistant"
,
columnList
=
"assistant_
manager_
id"
),
@Index
(
name
=
"idx_assistant_config_history_section"
,
columnList
=
"section"
),
@Index
(
name
=
"idx_assistant_config_history_date"
,
columnList
=
"modification_date"
)
})
...
...
@@ -21,8 +21,8 @@ public class AssistantConfigurationHistory {
@Column
(
name
=
"id"
)
private
Long
id
;
@Column
(
name
=
"assistant_id"
,
nullable
=
false
)
private
Long
assistantId
;
@Column
(
name
=
"assistant_
manager_
id"
,
nullable
=
false
)
private
Long
assistant
Manager
Id
;
@Column
(
name
=
"section"
,
nullable
=
false
,
length
=
100
)
private
String
section
;
...
...
@@ -33,7 +33,7 @@ public class AssistantConfigurationHistory {
@Column
(
name
=
"comment"
,
columnDefinition
=
"TEXT"
)
private
String
comment
;
@Column
(
name
=
"user_id"
,
nullable
=
fals
e
)
@Column
(
name
=
"user_id"
,
nullable
=
tru
e
)
private
Long
userId
;
@Column
(
name
=
"modification_date"
,
nullable
=
false
)
...
...
@@ -46,11 +46,11 @@ public class AssistantConfigurationHistory {
private
String
newValue
;
// Constructeur utilitaire
public
AssistantConfigurationHistory
(
Long
assistantId
,
String
section
,
String
action
,
Long
userId
)
{
this
.
assistantId
=
assistantId
;
public
AssistantConfigurationHistory
(
Long
assistant
Manager
Id
,
String
section
,
String
action
,
Long
userId
)
{
this
.
assistant
Manager
Id
=
assistant
Manager
Id
;
this
.
section
=
section
;
this
.
action
=
action
;
this
.
userId
=
userId
;
this
.
userId
=
userId
;
// Peut être null
this
.
modificationDate
=
LocalDateTime
.
now
();
}
...
...
@@ -64,6 +64,6 @@ public class AssistantConfigurationHistory {
@Override
public
String
toString
()
{
return
String
.
format
(
"AssistantConfigurationHistory{assistantId=%d, section=%s, action=%s, date=%s}"
,
assistantId
,
section
,
action
,
modificationDate
);
assistant
Manager
Id
,
section
,
action
,
modificationDate
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Aperçu
0%
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter