CourseModel.DB_STRUCTURE = {
_pid: 'string|true',
COURSE_ID: 'string|true',
COURSE_USER_ID: 'string|true|comment=用户ID',
COURSE_MEET_ID: 'string|false|comment=老师项目PK',
COURSE_DESC: 'string|false|comment=备注',
COURSE_TYPE: 'int|true|default=1|comment=类型 0=增加,1=减少',
COURSE_CHANGE_CNT: 'int|true|default=0|comment=当变动课时数(可正负)',
COURSE_ADD_TIME: 'int|true',
COURSE_ADD_IP: 'string|false',
COURSE_EDIT_TIME: 'int|true',
COURSE_EDIT_IP: 'string|false',
}
DayModel.DB_STRUCTURE = {
_pid: 'string|true',
DAY_ID: 'string|true',
DAY_MEET_ID: 'string|true',
DAY_START: 'string|true|comment=开始时间点hh:mm',
DAY_END: 'string|true|comment=结束时间点hh:mm',
DAY_DATE: 'string|true|comment=日期 yyyy-mm-dd',
DAY_CNT: 'int|true|default=0|comment=已约课人数',
DAY_SUCC_CNT: 'int|true|default=0',
DAY_ADD_TIME: 'int|true',
DAY_EDIT_TIME: 'int|true',
DAY_ADD_IP: 'string|false',
DAY_EDIT_IP: 'string|false',
};
JoinModel.DB_STRUCTURE = {
_pid: 'string|true',
JOIN_ID: 'string|true',
JOIN_DAY_ID: 'string|true',
JOIN_COURSE_CNT: 'int|true|default=0',
JOIN_USER_ID: 'string|true|comment=用户ID',
JOIN_MEET_ID: 'string|true|comment=老师PK',
JOIN_MEET_CATE_ID: 'string|true',
JOIN_MEET_CATE_NAME: 'string|true',
JOIN_MEET_TITLE: 'string|true|comment=项目',
JOIN_DAY: 'string|true|comment=日期',
JOIN_DAY_START: 'string|true|comment=时段开始',
JOIN_DAY_END: 'string|true|comment=时段结束',
JOIN_USER_NAME: 'string|true|comment=用户昵称',
JOIN_USER_MOBILE: 'string|true|comment=联系电话',
JOIN_STATUS: 'int|true|default=1|comment=状态 1=成功',
JOIN_REASON: 'string|false',
JOIN_ADD_TIME: 'int|true',
JOIN_EDIT_TIME: 'int|true',
JOIN_ADD_IP: 'string|false',
JOIN_EDIT_IP: 'string|false',
};
评论