Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
Inovasi Daerah Master
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ghitha Dinan
Inovasi Daerah Master
Commits
3c50d2a0
Commit
3c50d2a0
authored
Oct 11, 2021
by
Ghitha Dinan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token interceptor fixing
parent
abb4ad3a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
Role.kt
...tlin/id/co/sangkuriang/inovasi/daerah/master/pojo/Role.kt
+0
-14
Users.kt
...lin/id/co/sangkuriang/inovasi/daerah/master/pojo/Users.kt
+14
-0
No files found.
src/main/kotlin/id/co/sangkuriang/inovasi/daerah/master/pojo/Role.kt
View file @
3c50d2a0
...
@@ -18,20 +18,6 @@ data class Role(
...
@@ -18,20 +18,6 @@ data class Role(
@field
:
NotEmpty
(
message
=
"Nama $VALIDATOR_MSG_REQUIRED"
)
@field
:
NotEmpty
(
message
=
"Nama $VALIDATOR_MSG_REQUIRED"
)
var
name
:
String
?
=
null
,
var
name
:
String
?
=
null
,
@Column
(
name
=
"province_id"
)
var
provinceId
:
String
?
=
null
,
@ManyToOne
@JoinColumn
(
name
=
"province_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
var
province
:
Province
?
=
null
,
@Column
(
name
=
"regency_id"
)
var
regencyId
:
String
?
=
null
,
@ManyToOne
@JoinColumn
(
name
=
"regency_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
var
regency
:
Regency
?
=
null
,
@Column
(
name
=
"created_at"
)
@Column
(
name
=
"created_at"
)
@get
:
JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"dd-MM-yyyy HH:mm:ss"
,
timezone
=
"GMT+7"
)
@get
:
JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"dd-MM-yyyy HH:mm:ss"
,
timezone
=
"GMT+7"
)
var
createdAt
:
Date
?
=
Date
(),
var
createdAt
:
Date
?
=
Date
(),
...
...
src/main/kotlin/id/co/sangkuriang/inovasi/daerah/master/pojo/Users.kt
View file @
3c50d2a0
...
@@ -38,6 +38,20 @@ data class Users(
...
@@ -38,6 +38,20 @@ data class Users(
@JoinColumn
(
name
=
"role_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
@JoinColumn
(
name
=
"role_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
var
role
:
Role
?
=
null
,
var
role
:
Role
?
=
null
,
@Column
(
name
=
"province_id"
)
var
provinceId
:
String
?
=
null
,
@ManyToOne
(
optional
=
true
,
fetch
=
FetchType
.
LAZY
)
@JoinColumn
(
name
=
"province_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
var
province
:
Province
?
=
null
,
@Column
(
name
=
"regency_id"
)
var
regencyId
:
String
?
=
null
,
@ManyToOne
(
optional
=
true
,
fetch
=
FetchType
.
LAZY
)
@JoinColumn
(
name
=
"regency_id"
,
insertable
=
false
,
updatable
=
false
,
nullable
=
true
)
var
regency
:
Regency
?
=
null
,
@Column
(
name
=
"confirmed"
)
@Column
(
name
=
"confirmed"
)
@JsonIgnore
@JsonIgnore
var
confirmed
:
Boolean
?
=
false
,
var
confirmed
:
Boolean
?
=
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment