Skip to content

Commit d5a5189

Browse files
committed
Merge remote-tracking branch 'github-team/getters-setters-flag'
2 parents b6a24e4 + a30f3ee commit d5a5189

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

greendao-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'java'
22

33
group = 'org.greenrobot'
4-
version = '3.1.0'
4+
version = '3.1.1-SNAPSHOT'
55

66
sourceCompatibility = 1.7
77
targetCompatibility = 1.7

greendao-api/src/main/java/org/greenrobot/greendao/annotation/Entity.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@
4545
boolean active() default false;
4646

4747
/**
48-
* Whether constructors should be generated.
48+
* Whether an all properties constructor should be generated. A no-args constructor is always required.
4949
*/
5050
boolean generateConstructors() default true;
5151

52+
/**
53+
* Whether getters and setters for properties should be generated if missing.
54+
*/
55+
boolean generateGettersSetters() default true;
56+
5257
}

0 commit comments

Comments
 (0)