Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
springboot-sample
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lakshmi Chaitanya
springboot-sample
Commits
f728396c
Commit
f728396c
authored
Jan 26, 2022
by
Pradeep Thimmireddy
Committed by
lchaitanya
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first commit
parent
0b7e21b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
gradle.properties
gradle.properties
+2
-1
gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.jar
+0
-0
MongoDomain.java
src/main/java/com/example/springboot/MongoDomain.java
+19
-0
No files found.
gradle.properties
View file @
f728396c
mavenRepo
=
mavenCentral()
\ No newline at end of file
mavenRepo
=
mavenCentral()
javaVersion
=
'2.5.0'
\ No newline at end of file
gradle/wrapper/gradle-wrapper.jar
View file @
f728396c
No preview for this file type
src/main/java/com/example/springboot/MongoDomain.java
0 → 100644
View file @
f728396c
package
com
.
mkyong
.
domain
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.mongodb.core.index.Indexed
;
import
org.springframework.data.mongodb.core.mapping.Document
;
@Document
(
collection
=
"domain"
)
public
class
MongoDomain
{
@Id
private
long
id
;
@Indexed
(
unique
=
true
)
private
String
domain
;
private
boolean
displayAds
;
//getters and setters
}
\ No newline at end of file
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