You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

6547 lines
190 KiB

{
"modules": [
{
"name": "activity",
"chnname": "活动",
"entities": [
{
"title": "活动主表",
"fields": [
{
"name": "id",
"type": "DefaultString",
"remark": "",
"chnname": "主键",
"pk": true,
"notNull": true
},
{
"name": "name",
"type": "DefaultString",
"remark": "",
"chnname": "活动名称"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "images",
"type": "MiddleString",
"remark": "存放json字符串\n{\nbig_image:xxx\nsmall_image:xx\n}",
"chnname": "封面图片"
},
{
"name": "sign_time",
"type": "DateTime",
"remark": "",
"chnname": "报名开始时间"
},
{
"name": "over_time",
"type": "DateTime",
"remark": "",
"chnname": "报名结束时间"
},
{
"name": "start_time",
"type": "DateTime",
"remark": "",
"chnname": "活动开始时间"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "活动结束时间"
},
{
"name": "address",
"type": "DefaultString",
"remark": "",
"chnname": "活动地点"
},
{
"name": "lat_and_lon",
"type": "DefaultString",
"remark": "例子:123.1221【经度】,122.12【纬度】",
"chnname": "地址经纬度"
},
{
"name": "activity_content",
"type": "LongText",
"remark": "",
"chnname": "活动内容"
},
{
"name": "is_free",
"type": "YesNo",
"remark": "0 表示免费 1 表示付费",
"chnname": "是否免费"
},
{
"name": "is_anyone_sign",
"type": "YesNo",
"remark": "0 表示允许 1 表示不允许",
"chnname": "是否允许帮助别人报名"
},
{
"name": "refund_seting",
"type": "Integer",
"remark": "退款设置\n0 表示不可退款\n1 表示活动开始可退款\n2, 表示指定时间可退卷",
"chnname": "退款设置"
},
{
"name": "refund_time",
"type": "DateTime",
"remark": "",
"chnname": "退款时间"
},
{
"name": "is_update_signinfo",
"type": "YesNo",
"remark": "0 表示可以 1 表示不可以",
"chnname": "是否可以修改报名信息"
},
{
"name": "show_sign_info",
"type": "Integer",
"remark": "0 不展示\n1 头像名称\n2 人数 头像 名称",
"chnname": "报名信息展示方式"
},
{
"name": "sign_btn_name",
"type": "DefaultString",
"remark": "",
"chnname": "报名按钮名称",
"defaultValue": "立即报名"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "a_activity_main",
"remark": "活动主表"
},
{
"title": "活动费用",
"fields": [
{
"name": "id",
"type": "DefaultString",
"remark": "",
"chnname": "主键",
"pk": true,
"notNull": true
},
{
"name": "cost_name",
"type": "DefaultString",
"remark": "",
"chnname": "费用名称"
},
{
"name": "cost",
"type": "Integer",
"remark": "系统采用分为费用的计量单位,在存储查询的时候需要进行转换,系统的费用保留2位小数",
"chnname": "费用金额"
},
{
"name": "quota",
"type": "Integer",
"remark": "默认为0 表示不限定",
"chnname": "名额限定",
"defaultValue": "0"
},
{
"name": "is_show_surquo",
"type": "YesNo",
"remark": "0 表示允许 1 表示不允许",
"chnname": "是否显示该项费用的剩余名额量"
},
{
"name": "cost_explain",
"type": "MiddleString",
"remark": "",
"chnname": "费用说明"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "is_choice_cost",
"type": "YesNo",
"remark": "0 表示允许 1 表示不允许",
"chnname": "是否可选费用"
},
{
"name": "activity_main_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动主表关联",
"relationNoShow": true
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "a_activity_cost"
},
{
"title": "活动报名字段中间表",
"fields": [
{
"name": "id",
"type": "DefaultString",
"remark": "",
"chnname": "主键",
"pk": true,
"notNull": true
},
{
"name": "activity_main_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动主表"
},
{
"name": "que_type_id",
"type": "DefaultString",
"remark": "",
"chnname": "字段类型主表"
},
{
"name": "is_required",
"type": "YesNo",
"remark": "0 表示必填 1 表示非必填",
"chnname": "是否必填"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "a_qeu_type_middle"
},
{
"title": "字段类型主表",
"fields": [
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "id",
"type": "DefaultString",
"remark": "",
"chnname": "主键",
"pk": true,
"notNull": true
},
{
"name": "filed_type",
"type": "Integer",
"remark": "0 单行文本\n1 多行文本\n2 单选问题\n3 多选问题",
"chnname": "字段类型"
},
{
"name": "filed_name",
"type": "DefaultString",
"remark": "",
"chnname": "字段名称"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "a_que_type",
"remark": "添加活动设置该活动运行填写的字段"
},
{
"title": "字段类型二级表",
"fields": [
{
"name": "id",
"type": "DefaultString",
"remark": "",
"chnname": "主键",
"pk": true,
"notNull": false
},
{
"name": "que_answer",
"type": "MiddleString",
"remark": "",
"chnname": "问题选项"
},
{
"name": "que_type_id",
"type": "DefaultString",
"remark": "",
"chnname": "关联字段类型主表"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "a_que_type_sec"
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "活动主表",
"moduleName": false,
"x": 270,
"y": 210,
"id": "6ea208e0"
},
{
"shape": "table",
"title": "活动费用",
"moduleName": false,
"x": 733.796875,
"y": 243,
"id": "1beeb194"
}
],
"edges": []
},
"associations": []
},
{
"name": "club",
"chnname": "俱乐部",
"entities": [
{
"title": "bus_club_info",
"fields": [
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id",
"notNull": true,
"pk": true
},
{
"name": "club_name",
"type": "Name",
"remark": "",
"chnname": "俱乐部名称",
"notNull": true
},
{
"name": "club_circle",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部圈子"
},
{
"name": "tag_id",
"type": "IdOrKey",
"remark": "",
"chnname": "标签id",
"notNull": false
},
{
"name": "club_logo",
"type": "ShortString",
"remark": "",
"chnname": "俱乐部logo",
"notNull": false
},
{
"name": "club_bgimg",
"type": "ShortString",
"remark": "",
"chnname": "俱乐部背景图"
},
{
"name": "club_introd",
"type": "MiddleString",
"remark": "",
"chnname": "俱乐部简介"
},
{
"name": "personalized_sign",
"type": "Name",
"remark": "",
"chnname": "俱乐部个性签名"
},
{
"name": "club_person",
"type": "DefaultString",
"remark": "",
"chnname": "联系人"
},
{
"name": "club_phone",
"type": "DefaultString",
"remark": "",
"chnname": "联系电话"
},
{
"name": "is_verify",
"type": "YesNo",
"remark": "0-未认证 1-已认证",
"chnname": "是否认证"
},
{
"name": "verify_result",
"type": "DefaultString",
"remark": "",
"chnname": "认证结果(企业认证)"
},
{
"name": "verify_image",
"type": "DefaultString",
"remark": "",
"chnname": "认证图片(如V标?)"
},
{
"name": "photo_license",
"type": "DefaultString",
"remark": "",
"chnname": "营业执照"
},
{
"name": "photo_on_card",
"type": "DefaultString",
"remark": "",
"chnname": "身份证正面"
},
{
"name": "photo_off_card",
"type": "DefaultString",
"remark": "",
"chnname": "身份证反面"
},
{
"name": "club_admin",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部会长id(创建者)"
},
{
"name": "pay_ type",
"type": "YesNo",
"remark": "",
"chnname": "收款类型"
},
{
"name": "pay_account",
"type": "DefaultString",
"remark": "",
"chnname": "收款账户"
},
{
"name": "join_way",
"type": "YesNo",
"remark": "0-允许所有人加入",
"chnname": "俱乐部加入方式"
},
{
"name": "check_status",
"type": "YesNo",
"remark": "0-未审核 1审核中 2通过审核",
"chnname": "审核状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-解散(删除)",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部信息表"
},
{
"title": "bus_club_coupon",
"fields": [
{
"name": "coupon_id",
"type": "IdOrKey",
"remark": "",
"chnname": "优惠券id",
"pk": true,
"notNull": true,
"autoIncrement": false
},
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "coupon_price",
"type": "MyMoney",
"remark": "",
"chnname": "优惠券面额/单价"
},
{
"name": "coupon_limit",
"type": "MyMoney",
"remark": "",
"chnname": "使用条件"
},
{
"name": "coupon_total",
"type": "Integer",
"remark": "",
"chnname": "优惠券总数"
},
{
"name": "coupon_received",
"type": "Integer",
"remark": "",
"chnname": "已领取数量"
},
{
"name": "coupon_used",
"type": "Integer",
"remark": "",
"chnname": "已使用数量"
},
{
"name": "person_limit",
"type": "Integer",
"remark": "",
"chnname": "每人限领张数"
},
{
"name": "coupon_type",
"type": "YesNo",
"remark": "0-适用于所有活动\n1-适用于俱乐部所有活动\n2-适用于指定活动",
"chnname": "使用范围"
},
{
"name": "activity_id",
"type": "IdOrKey",
"remark": "当使用范围为指定活动时 填写活动id",
"chnname": "活动id"
},
{
"name": "start_time",
"type": "DateTime",
"remark": "",
"chnname": "开始时间"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "结束时间"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效\n1-有效\n2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部优惠券表"
},
{
"title": "bus_club_activity",
"fields": [
{
"name": "activity_id",
"type": "IdOrKey",
"remark": "",
"chnname": "活动id",
"pk": true,
"notNull": true
},
{
"name": "activity_name",
"type": "ShortString",
"remark": "",
"chnname": "活动名"
},
{
"name": "activity_logo",
"type": "ShortString",
"remark": "",
"chnname": "活动logo?需要不"
},
{
"name": "first_image",
"type": "ShortString",
"remark": "",
"chnname": "封面首图"
},
{
"name": "small_image",
"type": "ShortString",
"remark": "",
"chnname": "封面(活动)小图"
},
{
"name": "big_image",
"type": "ShortString",
"remark": "",
"chnname": "封面(活动)大图"
},
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "activity_content",
"type": "LongString",
"remark": "",
"chnname": "活动内容?有图片怎么存"
},
{
"name": "activity_addr",
"type": "DefaultString",
"remark": "",
"chnname": "活动地址"
},
{
"name": "lon_and_lat",
"type": "DefaultString",
"remark": "",
"chnname": "地址经纬度?是否需要单独存"
},
{
"name": "addr_lon",
"type": "DefaultString",
"remark": "",
"chnname": "地址经度"
},
{
"name": "addr_lat",
"type": "DefaultString",
"remark": "",
"chnname": "地址纬度"
},
{
"name": "regist_time",
"type": "DefaultString",
"remark": "",
"chnname": "报名开始时间"
},
{
"name": "over_time",
"type": "DefaultString",
"remark": "",
"chnname": "报名结束时间"
},
{
"name": "start_time",
"type": "DateTime",
"remark": "",
"chnname": "活动开始时间"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "活动结束时间"
},
{
"name": "is_free",
"type": "YesNo",
"remark": "0 表示免费 1 表示付费",
"chnname": "是否免费"
},
{
"name": "is_help_sign",
"type": "YesNo",
"remark": "0 表示不允许 1 表示允许",
"chnname": "是否允许帮助别人报名"
},
{
"name": "limit_help_sign",
"type": "Integer",
"remark": "",
"chnname": "允许帮他人报名次数"
},
{
"name": "is_limit_select",
"type": "YesNo",
"remark": "0-不限制(默认) 1-限制(需要填写限制数量)",
"chnname": "是否限制费用项数"
},
{
"name": "limit_select",
"type": "Integer",
"remark": "",
"chnname": "报名可选费用项数"
},
{
"name": "is_check",
"type": "YesNo",
"remark": "0-不需要审核 1-需要审核",
"chnname": "参加报名人是否需要审核"
},
{
"name": "refund_setting",
"type": "YesNo",
"remark": "0 表示不可退款\n1 表示活动开始可退款\n2, 表示指定时间可退卷",
"chnname": "退款设置"
},
{
"name": "refund_time",
"type": "DateTime",
"remark": "",
"chnname": "退款时间"
},
{
"name": "is_update_sign",
"type": "YesNo",
"remark": "0 表示不可以 1 表示可以",
"chnname": "是否可以修改报名信息"
},
{
"name": "show_sign_info",
"type": "YesNo",
"remark": "0 不展示\n1 头像名称\n2 人数 头像 名称",
"chnname": "报名信息展示方式"
},
{
"name": "sign_btn_name",
"type": "DefaultString",
"remark": "",
"chnname": "报名按钮名称"
},
{
"name": "cost_id",
"type": "DefaultString",
"remark": "",
"chnname": "费用id"
},
{
"name": "activity_price",
"type": "MyMoney",
"remark": "",
"chnname": "活动单价"
},
{
"name": "official_price",
"type": "MyMoney",
"remark": "",
"chnname": "官方价格/单价"
},
{
"name": "team_price",
"type": "MyMoney",
"remark": "",
"chnname": "团队价格/单价"
},
{
"name": "is_limit",
"type": "YesNo",
"remark": "0-不限制名额 1-有人数上限(需要填写限制人数)",
"chnname": "是否限制人数"
},
{
"name": "limit_number",
"type": "Integer",
"remark": "限制人数时填",
"chnname": "活动上限人数"
},
{
"name": "activity_read",
"type": "Integer",
"remark": "",
"chnname": "浏览量"
},
{
"name": "activity_share",
"type": "Integer",
"remark": "",
"chnname": "分享量"
},
{
"name": "insurance_type",
"type": "YesNo",
"remark": "0-无保险 1-主办方统一购买(报名费扣) 2-自助购买",
"chnname": "买保险方式"
},
{
"name": "insurance_price",
"type": "MyMoney",
"remark": "",
"chnname": "保险费用"
},
{
"name": "is_SMS_inform",
"type": "YesNo",
"remark": "0-不通知 1-通知",
"chnname": "是否短信通知"
},
{
"name": "SMS_inform_time",
"type": "DateTime",
"remark": "",
"chnname": "短信通知时间"
},
{
"name": "SMS_explain",
"type": "Intro",
"remark": "",
"chnname": "短信通知说明"
},
{
"name": "SMS_content",
"type": "Intro",
"remark": "",
"chnname": "短信通知内容"
},
{
"name": "is_applet_inform",
"type": "YesNo",
"remark": "0-不通知 1-通知",
"chnname": "是否小程序通知"
},
{
"name": "applet_inform_time",
"type": "DateTime",
"remark": "",
"chnname": "小程序通知时间"
},
{
"name": "is_join",
"type": "YesNo",
"remark": "0-不加入 1-加入",
"chnname": "报名后是否自动加入俱乐部"
},
{
"name": "poster",
"type": "ShortString",
"remark": "",
"chnname": "海报图片"
},
{
"name": "is_regist",
"type": "YesNo",
"remark": "0-不允许报名 1-允许报名",
"chnname": "活动允许报名"
},
{
"name": "check_status",
"type": "YesNo",
"remark": "0-未审核 1审核中 2通过审核 3-审核未通过",
"chnname": "审核状态"
},
{
"name": "publish_status",
"type": "YesNo",
"remark": "0-未发布(活动创建者保存草稿时) 1-已发布",
"chnname": "发布状态"
},
{
"name": "regist_status",
"type": "YesNo",
"remark": "0-未开始 1-开始报名 2-报名结束 3-活动取消",
"chnname": "报名状态"
},
{
"name": "sign_status",
"type": "YesNo",
"remark": "0-未开始 1-开始签到 2-签到结束 3-活动取消",
"chnname": "签到状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "created_tel",
"type": "DefaultString",
"remark": "",
"chnname": "发起人联系方式"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人,发起人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部活动表"
},
{
"title": "bus_club_tag",
"fields": [
{
"name": "tag_id",
"type": "IdOrKey",
"remark": "",
"chnname": "标签id"
},
{
"name": "tag_name",
"type": "Name",
"remark": "",
"chnname": "标签名"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部标签表"
},
{
"title": "bus_club_member",
"fields": [
{
"name": "member_id",
"type": "IdOrKey",
"remark": "",
"chnname": "成员id"
},
{
"name": "user_id",
"type": "IdOrKey",
"remark": "",
"chnname": "用户id"
},
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "member_photo",
"type": "DefaultString",
"remark": "",
"chnname": "头像"
},
{
"name": "nickname",
"type": "DefaultString",
"remark": "",
"chnname": "昵称"
},
{
"name": "member_type",
"type": "YesNo",
"remark": "1-创建者 2-管理员 3-其他成员",
"chnname": "成员类型"
},
{
"name": "member_name",
"type": "Name",
"remark": "0-会长 1-副会长 2-管理员 3-五星成员 4-四星成员 5-三星成员 6-二星成员 7-一星成员",
"chnname": "成员个性化称号"
},
{
"name": "member_account",
"type": "DefaultString",
"remark": "",
"chnname": "成员账户"
},
{
"name": "member_grade",
"type": "Integer",
"remark": "",
"chnname": "成员等级/积分"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部成员表"
},
{
"title": "bus_club_photo",
"fields": [
{
"name": "photo_id",
"type": "IdOrKey",
"remark": "",
"chnname": "相册id"
},
{
"name": "photo_name",
"type": "Name",
"remark": "",
"chnname": "相册名"
},
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "activity_id",
"type": "IdOrKey",
"remark": "",
"chnname": "活动id?是否需要"
},
{
"name": "photo_logo",
"type": "Dict",
"remark": "0-不是\n1-是相册logo图",
"chnname": "是否为相册logo"
},
{
"name": "photo_url",
"type": "DefaultString",
"remark": "",
"chnname": "照片路径"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "upload_time",
"type": "DateTime",
"remark": "",
"chnname": "上传时间"
},
{
"name": "photo_download",
"type": "Integer",
"remark": "",
"chnname": "下载数量"
},
{
"name": "photo_like",
"type": "Integer",
"remark": "",
"chnname": "点赞数量"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部相册表"
},
{
"title": "bus_club_wallet",
"fields": [
{
"name": "wallet_id",
"type": "DefaultString",
"remark": "",
"chnname": "钱包id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属俱乐部id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属用户id"
},
{
"name": "money_usable",
"type": "MyMoney",
"remark": "",
"chnname": "可用金额"
},
{
"name": "money_freeze",
"type": "MyMoney",
"remark": "",
"chnname": "冻结金额"
},
{
"name": "money_withdraw",
"type": "MyMoney",
"remark": "",
"chnname": "可提现金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "账户"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部钱包表"
},
{
"title": "bus_club_cash",
"fields": [
{
"name": "cash_id",
"type": "DefaultString",
"remark": "",
"chnname": "提现id"
},
{
"name": "cash_serial",
"type": "DefaultString",
"remark": "",
"chnname": "提现流水号"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "提现俱乐部id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "提现用户id"
},
{
"name": "money",
"type": "MyMoney",
"remark": "",
"chnname": "提现金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "提现账户"
},
{
"name": "wechat_id",
"type": "DefaultString",
"remark": "",
"chnname": "微信号"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部提现流水表"
},
{
"title": "bus_activity_register",
"fields": [
{
"name": "regist_id",
"type": "DefaultString",
"remark": "",
"chnname": "报名组序号",
"notNull": true
},
{
"name": "regist_index",
"type": "Integer",
"remark": "给多人报名时的序号",
"chnname": "报名组内序号",
"notNull": true
},
{
"name": "regist_serial",
"type": "DefaultString",
"remark": "每一个报名人的流水号,唯一",
"chnname": "报名流水号",
"notNull": true,
"pk": true
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "费用"
},
{
"name": "insurance",
"type": "MyMoney",
"remark": "",
"chnname": "保险"
},
{
"name": "nickname",
"type": "DefaultString",
"remark": "",
"chnname": "昵称"
},
{
"name": "realname",
"type": "DefaultString",
"remark": "",
"chnname": "真实姓名"
},
{
"name": "phone",
"type": "DefaultString",
"remark": "",
"chnname": "手机"
},
{
"name": "wechat_id",
"type": "DefaultString",
"remark": "",
"chnname": "微信号"
},
{
"name": "gender",
"type": "YesNo",
"remark": "0-女 1-男",
"chnname": "性别"
},
{
"name": "IDcard",
"type": "DefaultString",
"remark": "",
"chnname": "身份证"
},
{
"name": "urgent_name",
"type": "DefaultString",
"remark": "",
"chnname": "紧急联系人"
},
{
"name": "urgent_tel",
"type": "DefaultString",
"remark": "",
"chnname": "紧急联系电话"
},
{
"name": "regist_time",
"type": "DateTime",
"remark": "",
"chnname": "报名时间"
},
{
"name": "order_id",
"type": "DefaultString",
"remark": "",
"chnname": "订单id号"
},
{
"name": "pay_id",
"type": "DefaultString",
"remark": "",
"chnname": "支付id号"
},
{
"name": "is_team",
"type": "YesNo",
"remark": "",
"chnname": "是否团报"
},
{
"name": "team_id",
"type": "DefaultString",
"remark": "",
"chnname": "团报id"
},
{
"name": "is_sign",
"type": "YesNo",
"remark": "0-初始化 1-未签到 2-已签到",
"chnname": "是否签到"
},
{
"name": "regist_status",
"type": "YesNo",
"remark": "0-未报名 1-已报名 2-待支付 3-已支付 4-待参加 5-已参加 6-待评价 7-已评价 8-已取消 9-已退款",
"chnname": "报名状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动报名表",
"remark": "报名人报多个人时,报名id为同一个"
},
{
"title": "bus_activity_team",
"fields": [
{
"name": "team_id",
"type": "DefaultString",
"remark": "",
"chnname": "团报id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "team_logo",
"type": "DefaultString",
"remark": "",
"chnname": "团报logo"
},
{
"name": "team_name",
"type": "DefaultString",
"remark": "",
"chnname": "团队名称"
},
{
"name": "apply_user_id",
"type": "DefaultString",
"remark": "",
"chnname": "发起人"
},
{
"name": "apply_phone",
"type": "DefaultString",
"remark": "",
"chnname": "联系方式"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "报名截止日期"
},
{
"name": "limit_number",
"type": "Integer",
"remark": "",
"chnname": "上限人数"
},
{
"name": "team_price",
"type": "MyMoney",
"remark": "",
"chnname": "团报单价"
},
{
"name": "check_status",
"type": "YesNo",
"remark": "0-未审核 1审核中 2通过审核 3-审核未通过",
"chnname": "审核状态"
},
{
"name": "regist_status",
"type": "DefaultString",
"remark": "0-未开始 1-开始报名 2-报名结束 3-活动取消",
"chnname": "报名状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动团报信息表",
"remark": "创建团报时记录信息"
},
{
"title": "bus_activity_cost",
"fields": [
{
"name": "cost_id",
"type": "DefaultString",
"remark": "",
"chnname": "费用id",
"notNull": true
},
{
"name": "cost_index",
"type": "Integer",
"remark": "",
"chnname": "费用序号"
},
{
"name": "cost_name",
"type": "DefaultString",
"remark": "",
"chnname": "费用名",
"notNull": true
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "费用"
},
{
"name": "is_limit",
"type": "YesNo",
"remark": "0-不限制(默认不限制) 1-限制人数",
"chnname": "是否限制名额"
},
{
"name": "limit_number",
"type": "Integer",
"remark": "",
"chnname": "名额"
},
{
"name": "is_show_last",
"type": "Integer",
"remark": "",
"chnname": "是否显示该项剩余名额量"
},
{
"name": "is_have_insurance",
"type": "YesNo",
"remark": "",
"chnname": "是否包含保险费费用"
},
{
"name": "cost_explain",
"type": "DefaultString",
"remark": "",
"chnname": "费用说明"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动费用表"
},
{
"title": "bus_activity_sign",
"fields": [
{
"name": "sign_id",
"type": "DefaultString",
"remark": "",
"chnname": "签到id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "sign_status",
"type": "YesNo",
"remark": "0-未到 1-已到",
"chnname": "签到状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动签到表"
},
{
"title": "bus_activity_evaluate",
"fields": [
{
"name": "evaluate_id",
"type": "DefaultString",
"remark": "",
"chnname": "评价id"
},
{
"name": "evaluate_content",
"type": "DefaultString",
"remark": "",
"chnname": "评价内容"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动评价表"
},
{
"title": "bus_activity_massage",
"fields": [
{
"name": "msg_id",
"type": "IdOrKey",
"remark": "",
"chnname": "留言id",
"notNull": true
},
{
"name": "activity_id",
"type": "IdOrKey",
"remark": "",
"chnname": "活动id"
},
{
"name": "club_id",
"type": "IdOrKey",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "member_id",
"type": "IdOrKey",
"remark": "",
"chnname": "成员id"
},
{
"name": "user_id",
"type": "IdOrKey",
"remark": "",
"chnname": "用户id"
},
{
"name": "wechat_name",
"type": "IdOrKey",
"remark": "",
"chnname": "微信名"
},
{
"name": "msg_title",
"type": "DefaultString",
"remark": "",
"chnname": "留言标题"
},
{
"name": "msg_content",
"type": "MiddleString",
"remark": "",
"chnname": "留言内容"
},
{
"name": "msg_time",
"type": "DefaultString",
"remark": "",
"chnname": "留言时间"
},
{
"name": "answer_msg_id",
"type": "DefaultString",
"remark": "",
"chnname": "回复的留言id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动留言表"
},
{
"title": "bus_register_question",
"fields": [
{
"name": "question_id",
"type": "DefaultString",
"remark": "",
"chnname": "问题id"
},
{
"name": "question_name",
"type": "DefaultString",
"remark": "",
"chnname": "问题名"
},
{
"name": "question_index",
"type": "DefaultString",
"remark": "",
"chnname": "问题序号"
},
{
"name": "question_type",
"type": "YesNo",
"remark": "0 单行文本\n1 多行文本\n2 单选问题\n3 多选问题",
"chnname": "问题类型"
},
{
"name": "answer",
"type": "MiddleString",
"remark": "",
"chnname": "问题回答选项"
},
{
"name": "is_required",
"type": "DefaultString",
"remark": "0-选填 1-必填",
"chnname": "是否必填"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "报名问题表"
},
{
"title": "bus_register_answer",
"fields": [
{
"name": "answer_id",
"type": "DefaultString",
"remark": "",
"chnname": "回答id"
},
{
"name": "question_id",
"type": "DefaultString",
"remark": "",
"chnname": "问题id"
},
{
"name": "answer",
"type": "MiddleString",
"remark": "",
"chnname": "问题答案"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "regist_id",
"type": "DefaultString",
"remark": "",
"chnname": "报名id"
},
{
"name": "regist_index",
"type": "DefaultString",
"remark": "",
"chnname": "报名序号"
},
{
"name": "regist_serial",
"type": "DefaultString",
"remark": "",
"chnname": "报名流水号"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "报名问题回答表"
},
{
"title": "bus_register_filed",
"fields": [
{
"name": "filed_id",
"type": "DefaultString",
"remark": "",
"chnname": "字段id"
},
{
"name": "filed_name",
"type": "DefaultString",
"remark": "",
"chnname": "字段名"
},
{
"name": "is_required",
"type": "YesNo",
"remark": "0-选填 1-必填",
"chnname": "是否必填"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "报名自定义填写项表"
},
{
"title": "bus_register_result",
"fields": [
{
"name": "regist_serial",
"type": "DefaultString",
"remark": "",
"chnname": "报名流水号",
"notNull": true
},
{
"name": "filed_id",
"type": "DefaultString",
"remark": "",
"chnname": "字段id"
},
{
"name": "filed_name",
"type": "DefaultString",
"remark": "",
"chnname": "字段名"
},
{
"name": "filed_result",
"type": "DefaultString",
"remark": "",
"chnname": "结果"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "报名自定义项结果表"
},
{
"title": "bus_pay_info",
"fields": [
{
"name": "pay_id",
"type": "DefaultString",
"remark": "",
"chnname": "支付id"
},
{
"name": "pay_way",
"type": "YesNo",
"remark": "0-未支付 1-微信支付 2-现场支付 3-钱包支付",
"chnname": "支付渠道/方式"
},
{
"name": "pay_goods",
"type": "DefaultString",
"remark": "",
"chnname": "支付商品"
},
{
"name": "third_pay_serial",
"type": "DefaultString",
"remark": "",
"chnname": "三方系统支付流水号",
"notNull": true
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "支付总金额"
},
{
"name": "order_id",
"type": "DefaultString",
"remark": "",
"chnname": "订单id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "支付用户id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "支付账户"
},
{
"name": "refund",
"type": "DefaultString",
"remark": "",
"chnname": "退款金额"
},
{
"name": "pay_status",
"type": "YesNo",
"remark": "0-未支付(订单作废) 1-待支付 2-已支付 3-已完成(完成交易) 4-已退款 5-已取消",
"chnname": "支付状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "报名支付信息表",
"remark": "用于记录每一次的支付动作"
},
{
"title": "bus_pay_detail",
"fields": [
{
"name": "pay_id",
"type": "DefaultString",
"remark": "",
"chnname": "支付组序号"
},
{
"name": "pay_index",
"type": "Integer",
"remark": "",
"chnname": "支付组内序号"
},
{
"name": "pay_serial",
"type": "DefaultString",
"remark": "",
"chnname": "支付流水号"
},
{
"name": "pay_way",
"type": "YesNo",
"remark": "0-未支付 1-微信支付 2-现场支付 3-钱包支付",
"chnname": "支付渠道/方式"
},
{
"name": "order_serial",
"type": "DefaultString",
"remark": "订单详情的流水号",
"chnname": "订单流水号"
},
{
"name": "pay_goods",
"type": "DefaultString",
"remark": "",
"chnname": "支付商品"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "支付金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "支付账户"
},
{
"name": "refund",
"type": "MyMoney",
"remark": "",
"chnname": "退款金额"
},
{
"name": "refund_time",
"type": "DateTime",
"remark": "",
"chnname": "退款时间"
},
{
"name": "pay_status",
"type": "YesNo",
"remark": "0-未支付(订单作废) 1-待支付 2-已支付 3-已完成(完成交易) 4-已退款 5-已取消",
"chnname": "支付状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "支付详情"
},
{
"title": "bus_order_info",
"fields": [
{
"name": "order_id",
"type": "DefaultString",
"remark": "",
"chnname": "订单id"
},
{
"name": "order_serial",
"type": "DefaultString",
"remark": "",
"chnname": "订单流水号"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "order_goods",
"type": "DefaultString",
"remark": "",
"chnname": "订单商品"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "订单总金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "付款账户"
},
{
"name": "refund",
"type": "MyMoney",
"remark": "",
"chnname": "退款金额"
},
{
"name": "order_status",
"type": "YesNo",
"remark": "0-新订单 1-订单提交成功 2-支付成功 3-已完成 4-提交后超时未支付 5-已取消 6-已退款 7-等待审核 8-订单锁定",
"chnname": "订单状态",
"pk": false,
"notNull": false
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "订单信息表"
},
{
"title": "bus_order_detail",
"fields": [
{
"name": "order_id",
"type": "DefaultString",
"remark": "",
"chnname": "订单组序号"
},
{
"name": "order_index",
"type": "Integer",
"remark": "",
"chnname": "订单组内序号"
},
{
"name": "order_serial",
"type": "DefaultString",
"remark": "",
"chnname": "订单流水号"
},
{
"name": "order_goods",
"type": "DefaultString",
"remark": "",
"chnname": "订单商品"
},
{
"name": "cost",
"type": "MyMoney",
"remark": "",
"chnname": "订单金额"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "付款账户"
},
{
"name": "refund",
"type": "MyMoney",
"remark": "",
"chnname": "退款金额"
},
{
"name": "refund_time",
"type": "DateTime",
"remark": "",
"chnname": "退款时间"
},
{
"name": "order_status",
"type": "YesNo",
"remark": "0-新订单 1-订单提交成功 2-支付成功 3-已完成 4-提交后超时未支付 5-已取消 6-已退款 7-等待审核 8-订单锁定",
"chnname": "订单状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "订单详情表"
},
{
"title": "bus_advert_info",
"fields": [
{
"name": "advert_id",
"type": "DefaultString",
"remark": "",
"chnname": "广告id"
},
{
"name": "advert_name",
"type": "DefaultString",
"remark": "",
"chnname": "广告名"
},
{
"name": "advert_title",
"type": "DefaultString",
"remark": "",
"chnname": "广告标题"
},
{
"name": "advert_content",
"type": "ShortString",
"remark": "",
"chnname": "广告内容"
},
{
"name": "advert_image",
"type": "DefaultString",
"remark": "",
"chnname": "广告轮播图"
},
{
"name": "advert_url",
"type": "DefaultString",
"remark": "",
"chnname": "广告连接"
},
{
"name": "advert_type",
"type": "YesNo",
"remark": "",
"chnname": "广告类型"
},
{
"name": "advert_position",
"type": "DefaultString",
"remark": "",
"chnname": "广告放置位置"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "广告信息表"
},
{
"title": "bus_user_info",
"fields": [
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "wechat_id",
"type": "DefaultString",
"remark": "",
"chnname": "微信号"
},
{
"name": "wechat_name",
"type": "DefaultString",
"remark": "",
"chnname": "微信名"
},
{
"name": "nickname",
"type": "DefaultString",
"remark": "",
"chnname": "昵称"
},
{
"name": "realname",
"type": "DefaultString",
"remark": "",
"chnname": "真实姓名"
},
{
"name": "user_photo",
"type": "DefaultString",
"remark": "",
"chnname": "用户头像"
},
{
"name": "gender",
"type": "YesNo",
"remark": "0-女 1-男",
"chnname": "性别"
},
{
"name": "IDcard",
"type": "DefaultString",
"remark": "",
"chnname": "身份证"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "账户"
},
{
"name": "phone",
"type": "DefaultString",
"remark": "",
"chnname": "手机"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户信息表"
},
{
"title": "bus_user_coupon",
"fields": [
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "所属俱乐部成员id"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "所属活动id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "所属俱乐部id"
},
{
"name": "coupon_id",
"type": "DefaultString",
"remark": "",
"chnname": "优惠券id"
},
{
"name": "coupon_price",
"type": "MyMoney",
"remark": "",
"chnname": "优惠券金额"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "最后使用时间"
},
{
"name": "use_status",
"type": "YesNo",
"remark": "0-未使用 1-已使用 2-已过期",
"chnname": "使用在状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效1-有效2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户优惠券表",
"remark": "记录用户领取的优惠券及其使用情况"
},
{
"title": "bus_user_activity",
"fields": [
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "活动id"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "俱乐部id"
},
{
"name": "join_status",
"type": "YesNo",
"remark": "0-未报名 1-已报名 2-待支付 3-已支付 4-待参加 5-已参加 6-待评价 7-已评价 8-已取消 9-已退款",
"chnname": "参与状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户参与活动信息表"
},
{
"title": "bus_user_search",
"fields": [
{
"name": "search_id",
"type": "DefaultString",
"remark": "",
"chnname": "搜索id"
},
{
"name": "search_content",
"type": "DefaultString",
"remark": "",
"chnname": "搜索内容"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "搜索用户id"
},
{
"name": "search_number",
"type": "Integer",
"remark": "",
"chnname": "搜索次数?需不需要"
},
{
"name": "is_hot",
"type": "YesNo",
"remark": "0-否 1-是",
"chnname": "是否热门搜索"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户搜索流水表"
},
{
"title": "bus_user_advice",
"fields": [
{
"name": "advice_id",
"type": "DefaultString",
"remark": "",
"chnname": "意见id"
},
{
"name": "advice_name",
"type": "DefaultString",
"remark": "",
"chnname": "意见名"
},
{
"name": "advice_content",
"type": "MiddleString",
"remark": "",
"chnname": "意见内容"
},
{
"name": "answer_content",
"type": "MiddleString",
"remark": "",
"chnname": "意见回复"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "answer_status",
"type": "YesNo",
"remark": "0-未回复 1-已回复",
"chnname": "回复状态"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户意见反馈表"
},
{
"title": "bus_user_wallet",
"fields": [
{
"name": "wallet_id",
"type": "DefaultString",
"remark": "",
"chnname": "钱包id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属用户id"
},
{
"name": "money_usable",
"type": "MyMoney",
"remark": "",
"chnname": "可用金额"
},
{
"name": "money_freeze",
"type": "MyMoney",
"remark": "",
"chnname": "冻结金额"
},
{
"name": "money_withdraw",
"type": "MyMoney",
"remark": "",
"chnname": "可提现金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "账户"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户钱包表",
"remark": "记录用户在平台的金额信息,可用于提现,退款等。"
},
{
"title": "bus_user_cash",
"fields": [
{
"name": "cash_id",
"type": "DefaultString",
"remark": "",
"chnname": "提现id"
},
{
"name": "cash_serial",
"type": "DefaultString",
"remark": "",
"chnname": "提现流水号"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "提现用户id"
},
{
"name": "money",
"type": "MyMoney",
"remark": "",
"chnname": "提现金额"
},
{
"name": "account",
"type": "DefaultString",
"remark": "",
"chnname": "提现账户"
},
{
"name": "wechat_id",
"type": "DefaultString",
"remark": "",
"chnname": "微信号"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户提现流水表",
"remark": "记录用户提现流水信息"
},
{
"title": "bus_user_protocol",
"fields": [
{
"name": "protocol_id",
"type": "DefaultString",
"remark": "",
"chnname": "协议id"
},
{
"name": "protocol_name",
"type": "DefaultString",
"remark": "",
"chnname": "协议名称"
},
{
"name": "protocol_content",
"type": "LongText",
"remark": "",
"chnname": "协议内容"
},
{
"name": "protocol_type",
"type": "YesNo",
"remark": "",
"chnname": "协议类型"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户协议信息表"
},
{
"title": "bus_massage_club",
"fields": [
{
"name": "massage_id",
"type": "DefaultString",
"remark": "",
"chnname": "消息id"
},
{
"name": "massage_name",
"type": "DefaultString",
"remark": "",
"chnname": "消息名"
},
{
"name": "massage_title",
"type": "DefaultString",
"remark": "",
"chnname": "消息标题"
},
{
"name": "massage_content",
"type": "MiddleString",
"remark": "",
"chnname": "消息内容"
},
{
"name": "club_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属俱乐部id"
},
{
"name": "club_name",
"type": "DefaultString",
"remark": "",
"chnname": "归属俱乐部名"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "member_name",
"type": "DefaultString",
"remark": "",
"chnname": "成员名"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "user_photo",
"type": "DefaultString",
"remark": "",
"chnname": "用户头像"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "俱乐部消息表"
},
{
"title": "bus_massage_order",
"fields": [
{
"name": "massage_id",
"type": "DefaultString",
"remark": "",
"chnname": "消息id"
},
{
"name": "massage_name",
"type": "DefaultString",
"remark": "",
"chnname": "消息名"
},
{
"name": "massage_title",
"type": "DefaultString",
"remark": "",
"chnname": "消息标题"
},
{
"name": "massage_content",
"type": "MiddleString",
"remark": "",
"chnname": "消息内容"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属成员id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属用户id"
},
{
"name": "order_serial",
"type": "DefaultString",
"remark": "",
"chnname": "归属订单流水"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "订单消息表"
},
{
"title": "bus_massage_system",
"fields": [
{
"name": "massage_id",
"type": "DefaultString",
"remark": "",
"chnname": "消息id"
},
{
"name": "massage_name",
"type": "DefaultString",
"remark": "",
"chnname": "消息名"
},
{
"name": "massage_title",
"type": "DefaultString",
"remark": "",
"chnname": "消息标题"
},
{
"name": "massage_content",
"type": "MiddleString",
"remark": "",
"chnname": "消息内容"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属成员id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属用户id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统消息表"
},
{
"title": "bus_massage_activity",
"fields": [
{
"name": "massage_id",
"type": "DefaultString",
"remark": "",
"chnname": "消息id"
},
{
"name": "massage_name",
"type": "DefaultString",
"remark": "",
"chnname": "消息名"
},
{
"name": "massage_title",
"type": "DefaultString",
"remark": "",
"chnname": "消息标题"
},
{
"name": "massage_content",
"type": "MiddleString",
"remark": "",
"chnname": "消息内容"
},
{
"name": "activity_id",
"type": "DefaultString",
"remark": "",
"chnname": "归属活动id"
},
{
"name": "member_id",
"type": "DefaultString",
"remark": "",
"chnname": "成员id"
},
{
"name": "user_id",
"type": "DefaultString",
"remark": "",
"chnname": "用户id"
},
{
"name": "record_status",
"type": "YesNo",
"remark": "0-无效 1-有效 2-删除",
"chnname": "记录状态"
},
{
"name": "REVISION",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "CREATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "CREATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "UPDATED_BY",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "UPDATED_TIME",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "notes",
"type": "Intro",
"remark": "",
"chnname": "备注"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "活动消息表"
}
],
"graphCanvas": {
"edges": [],
"nodes": []
},
"associations": []
},
{
"name": "message",
"chnname": "消息",
"entities": [],
"graphCanvas": {
"edges": []
}
},
{
"name": "user",
"chnname": "个人中心",
"entities": [],
"graphCanvas": {
"edges": []
}
}
],
"dataTypeDomains": {
"datatype": [
{
"name": "默认字串",
"code": "DefaultString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"ORACLE": {
"type": "NVARCHAR2(32)"
},
"SQLServer": {
"type": "NVARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "标识号",
"code": "IdOrKey",
"apply": {
"JAVA": {
"type": "String"
},
"ORACLE": {
"type": "VARCHAR2(32)"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"SQLServer": {
"type": "VARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "标识号-长",
"code": "LongKey",
"apply": {
"MYSQL": {
"type": "VARCHAR(64)"
},
"ORACLE": {
"type": "VARCHAR2(64)"
},
"JAVA": {
"type": "String"
},
"SQLServer": {
"type": "VARCHAR(64)"
},
"PostgreSQL": {
"type": "VARCHAR(64)"
}
}
},
{
"name": "名称",
"code": "Name",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(128)"
},
"ORACLE": {
"type": "NVARCHAR2(128)"
},
"SQLServer": {
"type": "NVARCHAR(128)"
},
"PostgreSQL": {
"type": "VARCHAR(128)"
}
}
},
{
"name": "备注说明",
"code": "Intro",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(512)"
},
"ORACLE": {
"type": "NVARCHAR2(512)"
},
"SQLServer": {
"type": "NVARCHAR(512)"
},
"PostgreSQL": {
"type": "VARCHAR(512)"
}
}
},
{
"name": "字串-短",
"code": "ShortString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(128)"
},
"ORACLE": {
"type": "NVARCHAR2(128)"
},
"SQLServer": {
"type": "NVARCHAR(128)"
},
"PostgreSQL": {
"type": "VARCHAR(128)"
}
}
},
{
"name": "字串-中",
"code": "MiddleString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(1024)"
},
"ORACLE": {
"type": "NVARCHAR2(1024)"
},
"SQLServer": {
"type": "NVARCHAR(1024)"
},
"PostgreSQL": {
"type": "VARCHAR(1024)"
}
}
},
{
"name": "字串-长",
"code": "LongString",
"apply": {
"JAVA": {
"type": "String"
},
"ORACLE": {
"type": "NVARCHAR2(3072)"
},
"MYSQL": {
"type": "VARCHAR(3072)"
},
"SQLServer": {
"type": "NVARCHAR(3072)"
},
"PostgreSQL": {
"type": "VARCHAR(3072)"
}
}
},
{
"name": "大文本",
"code": "LongText",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "TEXT"
},
"ORACLE": {
"type": "CLOB"
},
"SQLServer": {
"type": "NTEXT"
},
"PostgreSQL": {
"type": "TEXT"
}
}
},
{
"name": "小数",
"code": "Double",
"apply": {
"JAVA": {
"type": "Double"
},
"MYSQL": {
"type": "DECIMAL(32,10)"
},
"ORACLE": {
"type": "NUMBER(32,10)"
},
"SQLServer": {
"type": "DECIMAL(32,10)"
},
"PostgreSQL": {
"type": "DECIMAL(32,10)"
}
}
},
{
"name": "比例",
"code": "Ratio",
"apply": {
"MYSQL": {
"type": "DECIMAL(4,2)"
},
"JAVA": {
"type": "Double"
},
"ORACLE": {
"type": "NUMBER(4,2)"
},
"SQLServer": {
"type": "DECIMAL(4,2)"
},
"PostgreSQL": {
"type": "DECIMAL(4,2)"
}
}
},
{
"name": "整数",
"code": "Integer",
"apply": {
"JAVA": {
"type": "Integer"
},
"MYSQL": {
"type": "INT"
},
"ORACLE": {
"type": "INT"
},
"SQLServer": {
"type": "INT"
},
"PostgreSQL": {
"type": "INT"
}
}
},
{
"name": "大整数",
"code": "BigInt",
"apply": {
"MYSQL": {
"type": "BIGINT"
},
"JAVA": {
"type": "Long"
},
"ORACLE": {
"type": "NUMBER"
},
"SQLServer": {
"type": "BIGINT"
},
"PostgreSQL": {
"type": "BIGINT"
}
}
},
{
"name": "金额",
"code": "Money",
"apply": {
"JAVA": {
"type": "Double"
},
"MYSQL": {
"type": "DECIMAL(32,8)"
},
"ORACLE": {
"type": "NUMBER(32,8)"
},
"SQLServer": {
"type": "DECIMAL(32,8)"
},
"PostgreSQL": {
"type": "DECIMAL(32,8)"
}
}
},
{
"name": "是否",
"code": "YesNo",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(1)"
},
"ORACLE": {
"type": "VARCHAR2(1)"
},
"SQLServer": {
"type": "VARCHAR(1)"
},
"PostgreSQL": {
"type": "VARCHAR(1)"
}
}
},
{
"name": "数据字典",
"code": "Dict",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"ORACLE": {
"type": "VARCHAR2(32)"
},
"SQLServer": {
"type": "VARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "日期",
"code": "Date",
"apply": {
"JAVA": {
"type": "Date"
},
"MYSQL": {
"type": "DATE"
},
"ORACLE": {
"type": "DATE"
},
"SQLServer": {
"type": "DATE"
},
"PostgreSQL": {
"type": "DATE"
}
}
},
{
"name": "日期时间",
"code": "DateTime",
"apply": {
"JAVA": {
"type": "Date"
},
"MYSQL": {
"type": "DATETIME"
},
"ORACLE": {
"type": "DATE"
},
"SQLServer": {
"type": "DATE"
},
"PostgreSQL": {
"type": "DATE"
}
}
},
{
"name": "单字符",
"code": "Char",
"apply": {
"MYSQL": {
"type": "CHAR(1)"
},
"ORACLE": {
"type": "CHAR(1)"
},
"JAVA": {
"type": "String"
},
"SQLServer": {
"type": "CHAR(1)"
},
"PostgreSQL": {
"type": "CHAR(1)"
}
}
},
{
"name": "金额费用",
"code": "MyMoney",
"apply": {
"MYSQL": {
"type": "DECIMAL(15,2)"
},
"ORACLE": {
"type": "DECIMAL(15,2)"
},
"SQLServer": {
"type": "DECIMAL(15,2)"
},
"PostgreSQL": {
"type": "DECIMAL(15,2)"
},
"JAVA": {
"type": "Double"
}
}
}
],
"database": [
{
"code": "MYSQL",
"template": "DROP TABLE {{=it.entity.title}};\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'",
"fileShow": true,
"defaultDatabase": true,
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,' ')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,' ') }}'{{=it.separator}}\n$blankline\n",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}",
"rebuildTableTemplate": "create table PDMAN_UP_{{=it.oldEntity.title}}\nas select * from {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}\n{{~it.newEntity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.newEntity.chnname,it.newEntity.remark,';') }}'{{=it.separator}}\n$blankline\n\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\ninsert into {{=it.newEntity.title}}(\n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\n) \nselect \n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\nfrom PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n{{~it.newEntity.indexs:index}}\nALTER TABLE {{=it.newEntity.title}} ADD {{? index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=index.name}}({{=it.func.join(...index.fields,',')}}){{=it.separator}}\n{{~}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.pk}}PRIMARY KEY{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}} {{? it.field.addAfter}}AFTER {{=it.field.addAfter}}{{?}}{{=it.separator}}",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}}{{=it.separator}}",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP {{=it.field.name}}{{=it.separator}}",
"deleteIndexTemplate": "ALTER TABLE {{=it.entity.title}} DROP INDEX {{=it.index.name}}{{=it.separator}}",
"createIndexTemplate": "ALTER TABLE {{=it.entity.title}} ADD {{? it.index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=it.index.name}}({{=it.func.join(...it.index.fields,',')}}){{=it.separator}}",
"updateTableComment": "ALTER TABLE {{=it.entity.title}} COMMENT '{{=it.entity.chnname}}'{{=it.separator}}"
},
{
"code": "ORACLE",
"template": "DROP TABLE {{=it.entity.title}}{{=it.separator}}\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\nCOMMENT ON TABLE {{=it.entity.title}} IS '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'{{=it.separator}}\n{{~it.entity.fields:field:index}}\nCOMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS '{{=it.func.join(field.chnname,field.remark,';')}}'{{=it.separator}}\n{{~}}",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~}}",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}\r\n$blankline",
"rebuildTableTemplate": "CREATE TABLE PDMAN_UP_{{=it.oldEntity.title}}\nAS SELECT * FROM {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\nDROP TABLE {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}{{~it.newEntity.fields:field:index}}{{? field.pk }}{{ pkList.push(field.name) }}{{?}} {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}{{? pkList.length >0 }} PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}}){{?}}\n){{=it.separator}}\n$blankline\n{{? it.newEntity.chnname || it.newEntity.remark}}COMMENT ON TABLE {{=it.newEntity.title}} IS {{? it.newEntity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.newEntity.chnname}}'{{?}};{{?}}{{=it.separator}}\n{{~it.newEntity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.newEntity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}};{{?}}{{=it.separator}}\n{{~}}\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\n$blankline\nINSERT INTO {{=it.newEntity.title}}(\n{{~sameCols:field:index}} {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}) \nSELECT\n{{~sameCols:field:index}} {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}FROM PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n\nDROP TABLE PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n{{~it.newEntity.indexs:index}}\nCREATE{{? index.isUnique}} UNIQUE{{?}} INDEX {{=index.name}} ON {{=it.newEntity.title}}({{=it.func.join(index.fields,',')}}){{=it.separator}}\n{{~}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD({{=it.field.name}} {{=it.field.type}}{{? it.field.defaultValue}} DEFAULT {{=it.field.defaultValue}}{{?}}{{? it.field.notNull}} NOT NULL{{?}}){{=it.separator}}\r\n{{? it.field.chnname || it.field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=it.field.name}} IS {{? it.field.remark}}'{{=it.field.remark}}'{{??}}'{{=it.field.chnname}}'{{?}}{{=it.separator}}{{?}}\r\n$blankline",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY({{=it.field.name}} {{=it.field.type}}{{? it.field.defaultValue}} DEFAULT {{=it.field.defaultValue}}{{?}}{{? it.field.notNull}} NOT NULL{{?}}){{=it.separator}}\r\n{{? it.field.chnname || it.field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=it.field.name}} IS {{? it.field.remark}}'{{=it.field.remark}}'{{??}}'{{=it.field.chnname}}'{{?}}{{=it.separator}}{{=it.separator}}{{?}}\r\n$blankline",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP({{=it.field.name}}){{=it.separator}}\r\n$blankline",
"deleteIndexTemplate": "DROP INDEX {{=it.entity.title}}.{{=it.index.name}}{{=it.separator}}\r\n$blankline",
"createIndexTemplate": "CREATE{{? it.index.isUnique}} UNIQUE{{?}} INDEX {{=it.index.name}} ON {{=it.entity.title}}({{=it.func.join(it.index.fields,',')}}){{=it.separator}}\r\n$blankline",
"updateTableComment": "{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\r\n$blankline"
},
{
"code": "SQLServer",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'IDENTITY(1,1)' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n CONSTRAINT PK_{{=it.entity.title}} PRIMARY KEY CLUSTERED ({{~pkList:pkName:i}}{{= pkName }} ASC {{= i<pkList.length-1 ? ',' : '' }}{{~}}) ON [PRIMARY] \n{{?}}\n){{=it.separator}}\n\n$blankline\nEXECUTE sp_addextendedproperty N'MS_Description', '{{= it.entity.chnname || it.entity.remark}}', N'user', N'dbo', N'table', N'{{=it.entity.title}}', NULL, NULL{{=it.separator}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}EXECUTE sp_addextendedproperty N'MS_Description', {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}, N'user', N'dbo', N'table', N'{{=it.entity.title}}', N'column', N'{{=field.name}}'{{=it.separator}}{{?}}\n{{~}}\n",
"deleteTableTemplate": "",
"rebuildTableTemplate": "",
"createFieldTemplate": "",
"updateFieldTemplate": "",
"deleteFieldTemplate": "",
"deleteIndexTemplate": "",
"createIndexTemplate": "",
"updateTableComment": ""
},
{
"code": "PostgreSQL",
"template": "DROP TABLE {{=it.entity.title}};\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~}}",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}",
"rebuildTableTemplate": "create table PDMAN_UP_{{=it.oldEntity.title}}\nas select * from {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}\n{{~it.newEntity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.newEntity.chnname,it.newEntity.remark,';') }}'{{=it.separator}}\n$blankline\n\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\ninsert into {{=it.newEntity.title}}(\n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\n) \nselect \n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\nfrom PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.pk}}PRIMARY KEY{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}} {{? it.field.addAfter}}AFTER {{=it.field.addAfter}}{{?}}{{=it.separator}}",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}}{{=it.separator}}",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP {{=it.field.name}}{{=it.separator}}",
"deleteIndexTemplate": "ALTER TABLE {{=it.entity.title}} DROP INDEX {{=it.index.name}}{{=it.separator}}",
"createIndexTemplate": "ALTER TABLE {{=it.entity.title}} ADD {{? it.index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=it.index.name}}({{=it.func.join(...it.index.fields,',')}}){{=it.separator}}",
"updateTableComment": "ALTER TABLE {{=it.entity.title}} COMMENT '{{=it.entity.chnname}}'{{=it.separator}}"
},
{
"code": "JAVA",
"template": "package group.rober.pdman.{{=it.module.name}}.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n$blankline\n\n/** {{=it.entity.chnname}} */\n@Table(name=\"{{=it.entity.title}}\")\npublic class {{=it.func.camel(it.entity.title,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n {{? field.pk }}\n @Id\n @GeneratedValue\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.name,false)}} ;\n{{~}}\n$blankline\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.name,true)}}(){\n return this.{{=it.func.camel(field.name,false)}};\n }\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public void set{{=it.func.camel(field.name,true)}}({{=field.type}} {{= it.func.camel(field.name,false) }}){\n this.{{=it.func.camel(field.name,false)}} = {{= it.func.camel(field.name,false) }};\n }\n{{~}}\n}",
"createTableTemplate": "package group.rober.pdman.{{=it.module.name}}.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n$blankline\n@Table(name=\"{{=it.entity.title}}\")\npublic class {{=it.func.camel(it.entity.title,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n {{? field.pk }}\n @Id\n @GeneratedValue\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.name,false)}} ;\n{{~}}\n$blankline\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.name,true)}}(){\n return this.{{=it.func.camel(field.name,false)}};\n }\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public void set{{=it.func.camel(field.name,true)}}({{=field.type}} {{= it.func.camel(field.name,false) }}){\n this.{{=it.func.camel(field.name,false)}} = {{= it.func.camel(field.name,false) }};\n }\n{{~}}\n}",
"deleteTableTemplate": "",
"rebuildTableTemplate": "",
"createFieldTemplate": "",
"updateFieldTemplate": "",
"deleteFieldTemplate": "",
"deleteIndexTemplate": "",
"createIndexTemplate": "",
"updateTableComment": ""
}
]
}
}