From 0994f585369851e17b59cebec16e58df54f86444 Mon Sep 17 00:00:00 2001 From: stevomcallister Date: Tue, 24 Oct 2023 10:00:23 +0100 Subject: [PATCH] PI-1579 updated config --- .../cas3-and-delius/deploy/database/access.yml | 2 +- .../hmpps/integrations/delius/entity/Contact.kt | 14 +++++++------- .../integrations/delius/entity/PersonManager.kt | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/projects/cas3-and-delius/deploy/database/access.yml b/projects/cas3-and-delius/deploy/database/access.yml index 99a49ec430..c9290b149f 100644 --- a/projects/cas3-and-delius/deploy/database/access.yml +++ b/projects/cas3-and-delius/deploy/database/access.yml @@ -8,5 +8,5 @@ database: audit: username: Cas3AndDelius - forename: cas3 + forename: Transitional Accommodation (CAS3) surname: Service diff --git a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/Contact.kt b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/Contact.kt index 8654e39e1a..c0cdb76379 100644 --- a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/Contact.kt +++ b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/Contact.kt @@ -42,13 +42,13 @@ class Contact( val type: ContactType, @Lob - var notes: String, + val notes: String, @Column(name = "contact_date") - var date: LocalDate, + val date: LocalDate, @Column(name = "contact_start_time") - var startTime: ZonedDateTime, + val startTime: ZonedDateTime, @Column(updatable = false) val staffId: Long, @@ -74,15 +74,15 @@ class Contact( @CreatedBy @Column(name = "created_by_user_id", updatable = false) - var createdByUserId: Long = 0, + val createdByUserId: Long = 0, @LastModifiedBy @Column(name = "last_updated_user_id") - var lastModifiedUserId: Long = 0, + val lastModifiedUserId: Long = 0, @Version @Column(name = "row_version") - var version: Long = 0, + val version: Long = 0, @Column(updatable = false) val trustProviderTeamId: Long = teamId, @@ -94,7 +94,7 @@ class Contact( val partitionAreaId: Long = 0L, @Column(updatable = false, columnDefinition = "NUMBER") - var softDeleted: Boolean = false + val softDeleted: Boolean = false ) @Immutable diff --git a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/PersonManager.kt b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/PersonManager.kt index 0c1921e9bc..45cff36c22 100644 --- a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/PersonManager.kt +++ b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/entity/PersonManager.kt @@ -33,7 +33,7 @@ class PersonManager( val active: Boolean = true, @Column(name = "soft_deleted", columnDefinition = "NUMBER", nullable = false) - var softDeleted: Boolean = false + val softDeleted: Boolean = false )