Commit f728396c authored by Pradeep Thimmireddy's avatar Pradeep Thimmireddy Committed by lchaitanya

first commit

parent 0b7e21b6
mavenRepo=mavenCentral()
\ No newline at end of file
mavenRepo=mavenCentral()
javaVersion='2.5.0'
\ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment