提交 b365914b 编写于 作者: R Ray

删除boolean值索引

上级 c9544dd2
......@@ -266,7 +266,6 @@ public class BBSForumInfo extends SliceJpaObject {
public static final String replyMessageNotify_FIELDNAME = "replyMessageNotify";
@FieldDescribe("回复消息通知:true|false")
@Column(name = ColumnNamePrefix + replyMessageNotify_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + replyMessageNotify_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean replyMessageNotify = false;
......@@ -279,7 +278,6 @@ public class BBSForumInfo extends SliceJpaObject {
public static final String subjectMessageNotify_FIELDNAME = "subjectMessageNotify";
@FieldDescribe("新主题发布消息通知:true|false")
@Column(name = ColumnNamePrefix + subjectMessageNotify_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + subjectMessageNotify_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean subjectMessageNotify = false;
......
......@@ -306,7 +306,6 @@ public class BBSSectionInfo extends SliceJpaObject {
public static final String replyMessageNotify_FIELDNAME = "replyMessageNotify";
@FieldDescribe("回复消息通知:true|false")
@Column(name = ColumnNamePrefix + replyMessageNotify_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + replyMessageNotify_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean replyMessageNotify = false;
......@@ -319,7 +318,6 @@ public class BBSSectionInfo extends SliceJpaObject {
public static final String subjectMessageNotify_FIELDNAME = "subjectMessageNotify";
@FieldDescribe("新主题发布消息通知:true|false")
@Column(name = ColumnNamePrefix + subjectMessageNotify_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + subjectMessageNotify_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean subjectMessageNotify = false;
......@@ -332,7 +330,6 @@ public class BBSSectionInfo extends SliceJpaObject {
public static final String sectionGrade_FIELDNAME = "sectionGrade";
@FieldDescribe("版块是否支持评分:true|false")
@Column(name = ColumnNamePrefix + sectionGrade_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + sectionGrade_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean sectionGrade = false;
......
......@@ -243,7 +243,6 @@ public class BBSSubjectAttachment extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public String getForumId() {
......
......@@ -123,7 +123,6 @@ public class Calendar extends SliceJpaObject {
public static final String isPublic_FIELDNAME = "isPublic";
@FieldDescribe("是否公开的日历")
@Column(name = ColumnNamePrefix + isPublic_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isPublic_FIELDNAME)
private Boolean isPublic = false;
public static final String manageablePersonList_FIELDNAME = "manageablePersonList";
......
......@@ -275,7 +275,6 @@ public class Calendar_Event extends SliceJpaObject implements Cloneable, Compara
public static final String isAllDayEvent_FIELDNAME = "isAllDayEvent";
@FieldDescribe("是否为全天事件")
@Column(name = ColumnNamePrefix + isAllDayEvent_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isAllDayEvent_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean isAllDayEvent = false;
......@@ -289,7 +288,6 @@ public class Calendar_Event extends SliceJpaObject implements Cloneable, Compara
public static final String isPublic_FIELDNAME = "isPublic";
@FieldDescribe("是否公开的事件")
@Column(name = ColumnNamePrefix + isPublic_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isPublic_FIELDNAME)
private Boolean isPublic = false;
public static final String source_FIELDNAME = "source";
......
......@@ -267,7 +267,6 @@ public class Calendar_EventRepeatMaster extends SliceJpaObject implements Clonea
public static final String isAllDayEvent_FIELDNAME = "isAllDayEvent";
@FieldDescribe("是否为全天事件")
@Column(name = ColumnNamePrefix + isAllDayEvent_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isAllDayEvent_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean isAllDayEvent = false;
......@@ -281,7 +280,6 @@ public class Calendar_EventRepeatMaster extends SliceJpaObject implements Clonea
public static final String isPublic_FIELDNAME = "isPublic";
@FieldDescribe("是否公开的事件")
@Column(name = ColumnNamePrefix + isPublic_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isPublic_FIELDNAME)
private Boolean isPublic = false;
public static final String source_FIELDNAME = "source";
......
......@@ -161,28 +161,24 @@ public class AppInfo extends SliceJpaObject {
@FieldDescribe("是否允许匿名访问.")
@Column(name = ColumnNamePrefix + anonymousAble_FIELDNAME)
@CheckPersist(allowEmpty = true)
@Index(name = TABLE + IndexNameMiddle + anonymousAble_FIELDNAME)
private Boolean anonymousAble = true;
public static final String allPeopleView_FIELDNAME = "allPeopleView";
@FieldDescribe("可见范围为所有人可见.")
@Column(name = ColumnNamePrefix + allPeopleView_FIELDNAME)
@CheckPersist(allowEmpty = true)
@Index(name = TABLE + IndexNameMiddle + allPeopleView_FIELDNAME)
private Boolean allPeopleView = true;
public static final String allPeoplePublish_FIELDNAME = "allPeoplePublish";
@FieldDescribe("发布范围栏目为所有人可发布.")
@Column(name = ColumnNamePrefix + allPeoplePublish_FIELDNAME)
@CheckPersist(allowEmpty = true)
@Index(name = TABLE + IndexNameMiddle + allPeoplePublish_FIELDNAME)
private Boolean allPeoplePublish = true;
public static final String sendNotify_FIELDNAME = "sendNotify";
@FieldDescribe("发布文档后是否通知阅读者:true | false")
@Column(name = ColumnNamePrefix + sendNotify_FIELDNAME)
@CheckPersist(allowEmpty = true)
@Index(name = TABLE + IndexNameMiddle + sendNotify_FIELDNAME)
private Boolean sendNotify = true;
public static final String showAllDocuments_FIELDNAME = "showAllDocuments";
......
......@@ -250,14 +250,12 @@ public class CategoryInfo extends SliceJpaObject {
public static final String allPeopleView_FIELDNAME = "allPeopleView";
@FieldDescribe("可见范围为所有人可见.")
@Column(name = ColumnNamePrefix + allPeopleView_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + allPeopleView_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean allPeopleView = true;
public static final String allPeoplePublish_FIELDNAME = "allPeoplePublish";
@FieldDescribe("发布范围栏目为所有人可发布.")
@Column(name = ColumnNamePrefix + allPeoplePublish_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + allPeoplePublish_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean allPeoplePublish = true;
......
......@@ -107,7 +107,6 @@ public class DocumentCommentInfo extends SliceJpaObject {
public static final String isPrivate_FIELDNAME = "isPrivate";
@FieldDescribe("是否私信评论")
@Column(name = ColumnNamePrefix + isPrivate_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + isPrivate_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean isPrivate = false;
......
......@@ -342,7 +342,6 @@ public class FileInfo extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
/**
......
......@@ -138,13 +138,11 @@ public class ReadRemind extends SliceJpaObject {
public static final String reminded_FIELDNAME = "reminded";
@FieldDescribe("是否已经提醒.")
@Column(name = ColumnNamePrefix + reminded_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + reminded_FIELDNAME)
private Boolean reminded = false;
public static final String readed_FIELDNAME = "readed";
@FieldDescribe("是否已经阅读.")
@Column(name = ColumnNamePrefix + readed_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + readed_FIELDNAME)
private Boolean readed = false;
public String getDocumentId() {
......
......@@ -207,7 +207,6 @@ public class AppDictItem extends DataItem {
private Date timeValue;
@Column(name = ColumnNamePrefix + booleanValue_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + booleanValue_FIELDNAME)
private Boolean booleanValue;
public static final String application_FIELDNAME = "appId";
......
......@@ -110,7 +110,6 @@ public class QueryView extends SliceJpaObject {
@FieldDescribe("是否是定时任务.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + timingEnable_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + timingEnable_FIELDNAME)
private Boolean timingEnable;
public static final String timingTouch_FIELDNAME = "timingTouch";
......@@ -202,7 +201,6 @@ public class QueryView extends SliceJpaObject {
public static final String display_FIELDNAME = "display";
@FieldDescribe("是否前端可见.")
@Column(name = ColumnNamePrefix + display_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + display_FIELDNAME)
private Boolean display;
public static final String code_FIELDNAME = "code";
......
......@@ -174,7 +174,6 @@ public class File extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public String getName() {
......
......@@ -238,7 +238,6 @@ public class OriginFile extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public String getPerson() {
......
......@@ -281,7 +281,6 @@ public class Attachment extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public String getPerson() {
......
......@@ -170,7 +170,6 @@ public class Attachment extends StorageObject {
public static final String summary_FIELDNAME = "summary";
@FieldDescribe("是否是会议纪要附件.")
@Column(name = ColumnNamePrefix + summary_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + summary_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean summary;
......@@ -192,7 +191,6 @@ public class Attachment extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public String getMeeting() {
......
......@@ -215,7 +215,6 @@ public class Meeting extends SliceJpaObject {
public static final String manualCompleted_FIELDNAME = "manualCompleted";
@FieldDescribe("会议是否手工结束")
@Column(name = ColumnNamePrefix + manualCompleted_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + manualCompleted_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean manualCompleted;
......
......@@ -139,7 +139,6 @@ public class Room extends SliceJpaObject {
public static final String available_FIELDNAME = "available";
@FieldDescribe("会议室状态,可用,不可用")
@Column(name = ColumnNamePrefix + available_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + available_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean available;
......
......@@ -93,7 +93,6 @@ public class Instant extends SliceJpaObject {
public static final String consumed_FIELDNAME = "consumed";
@FieldDescribe("是否已经消费掉.")
@Column(name = ColumnNamePrefix + consumed_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + consumed_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean consumed;
......
......@@ -100,7 +100,6 @@ public class Message extends SliceJpaObject {
public static final String CONSUMED_FIELDNAME = "consumed";
@FieldDescribe("是否已经消费掉.")
@Column(name = ColumnNamePrefix + CONSUMED_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + CONSUMED_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean consumed;
......
......@@ -138,7 +138,6 @@ public class MindBaseInfo extends SliceJpaObject {
public static final String shared_FIELDNAME = "shared";
@FieldDescribe("自动生成,是否已经分享")
@Column(name = ColumnNamePrefix + shared_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + shared_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean shared = false;
......
......@@ -134,7 +134,6 @@ public class MindRecycleInfo extends SliceJpaObject {
public static final String shared_FIELDNAME = "shared";
@FieldDescribe("是否已经分享")
@Column(name = ColumnNamePrefix + shared_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + shared_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean shared = false;
......
......@@ -159,7 +159,6 @@ public class Identity extends SliceJpaObject {
public static final String major_FIELDNAME = "major";
@FieldDescribe("主身份标识")
@Column(name = ColumnNamePrefix + major_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + major_FIELDNAME)
private Boolean major;
/** flag标志位 */
......
......@@ -96,7 +96,6 @@ public class OauthCode extends SliceJpaObject {
public static final String codeUsed_FIELDNAME = "codeUsed";
@FieldDescribe("code是否已经使用过.")
@Index(name = TABLE + IndexNameMiddle + codeUsed_FIELDNAME)
@CheckPersist(allowEmpty = false)
@Column(name = ColumnNamePrefix + codeUsed_FIELDNAME)
private Boolean codeUsed;
......
......@@ -170,7 +170,6 @@ public class Empower extends SliceJpaObject {
public static final String enable_FIELDNAME = "enable";
@FieldDescribe("是否启用.")
@Column(name = ColumnNamePrefix + enable_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + enable_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean enable;
......
......@@ -204,7 +204,6 @@ public class Record extends SliceJpaObject {
@FieldDescribe("工作是否已经完成.")
/* 必填值 */
@Column(name = ColumnNamePrefix + completed_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + completed_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean completed;
......
......@@ -85,7 +85,6 @@ public class Agent extends SliceJpaObject {
public static final String enable_FIELDNAME = "enable";
@FieldDescribe("是否启用.")
@Column(name = ColumnNamePrefix + enable_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + enable_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean enable;
......
......@@ -93,7 +93,6 @@ public class AppPackApkFile extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
public static final String length_FIELDNAME = "length";
......
......@@ -90,7 +90,6 @@ public class Invoke extends SliceJpaObject {
public static final String enable_FIELDNAME = "enable";
@FieldDescribe("是否启用.")
@Column(name = ColumnNamePrefix + enable_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + enable_FIELDNAME)
@CheckPersist(allowEmpty = false)
private Boolean enable;
......
......@@ -111,11 +111,8 @@ public class ScheduleLog extends SliceJpaObject {
public static final String success_FIELDNAME = "success";
@FieldDescribe("运行成功.")
@Column(name = ColumnNamePrefix + success_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + success_FIELDNAME)
private Boolean success;
// public static String[] FLAGS = new String[] { "id" };
public String getApplication() {
return application;
}
......
......@@ -225,11 +225,8 @@ public class Structure extends StorageObject {
@FieldDescribe("是否使用更深的路径.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + deepPath_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + deepPath_FIELDNAME)
private Boolean deepPath;
// public static String[] FLAGS = new String[] { id_FIELDNAME };
public String getName() {
return name;
}
......
......@@ -155,7 +155,6 @@ public class Meta extends SliceJpaObject {
public static final String BOOLEANVALUE_FIELDNAME = "booleanValue";
@FieldDescribe("Boolean 值.")
@Column(name = ColumnNamePrefix + BOOLEANVALUE_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + BOOLEANVALUE_FIELDNAME)
@CheckPersist(allowEmpty = true)
private Boolean booleanValue;
......
......@@ -142,7 +142,6 @@ public class View extends SliceJpaObject {
@FieldDescribe("是否对结果进行缓存.")
@CheckPersist(allowEmpty = true)
@Column(name = ColumnNamePrefix + enableCache_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + enableCache_FIELDNAME)
private Boolean enableCache;
public static final String layout_FIELDNAME = "layout";
......@@ -196,7 +195,6 @@ public class View extends SliceJpaObject {
public static final String display_FIELDNAME = "display";
@FieldDescribe("是否前端可见.")
@Column(name = ColumnNamePrefix + display_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + display_FIELDNAME)
private Boolean display;
public static final String type_FIELDNAME = "type";
......
......@@ -95,7 +95,6 @@ public class Entry extends SliceJpaObject {
public static final String wait_FIELDNAME = "wait";
@FieldDescribe("等待处理")
@Column(name = ColumnNamePrefix + wait_FIELDNAME)
@Index(name = TABLE + IndexNameMiddle + wait_FIELDNAME)
private Boolean wait;
public static final String summary_FIELDNAME = "summary";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册