{ "desc":"", "id":"data-4XTaYssn3", "isNewDataSource":1, "methods":[], "name":"orders", "pkgId":"honghgaier-5guiffgcf17a2eea", "schema":{ "x-primary-column":"groupbuy_id", "x-kind":"tcb", "x-defaultMethods":[ "wedaCreate", "wedaUpdate", "wedaDelete", "wedaGetItem", "wedaGetRecords", "wedaGetList", "wedaBatchCreate", "wedaBatchUpdate", "wedaBatchDelete" ], "type":"object", "x-relatedType":"exist", "x-viewId":"view-76daa2jyw0", "required":[], "properties":{ "adresses_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"ab2bcb82", "format":"", "description":"", "type":"string", "x-index":28, "title":"地址_id", "x-unique":false, "maxLength":255 }, "_mainDep":{ "x-system":true, "x-id":"bc722fd", "format":"father-son", "name":"_mainDep", "x-hidden":true, "title":"所属主管部门", "type":"string", "x-index":7, "x-unique":false, "x-parent":{ "fatherAction":"judge", "type":"father-son", "parentDataSourceName":"sys_department" } }, "sys_updateby_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"a5feef6e", "format":"", "description":"", "type":"string", "x-index":16, "title":"更新人", "x-unique":false, "maxLength":255 }, "merchandise_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"12d46116", "format":"", "description":"", "type":"string", "x-index":30, "title":"商品_id", "x-unique":false, "maxLength":255 }, "update_phone":{ "x-required":false, "x-keyPath":"", "x-id":"c6f451ac", "format":"phone", "description":"", "type":"string", "x-index":10, "title":"修改后电话", "x-unique":false, "maxLength":32 }, "delete":{ "x-required":false, "default":0, "x-keyPath":"", "x-id":"271cf8f2", "format":"", "description":"0-正常 1-删除", "type":"number", "x-index":22, "title":"逻辑删除", "x-unique":false }, "update_name":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"17b38a34", "format":"", "description":"", "type":"string", "x-index":12, "title":"修改后收货人", "x-unique":false, "maxLength":255 }, "createdAt":{ "default":0, "x-system":true, "x-id":"547f458", "format":"datetime", "x-index":2, "type":"number", "title":"创建时间", "x-unique":false }, "school_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"a99b4657", "format":"", "description":"", "type":"string", "x-index":6, "title":"学校_id", "x-unique":false, "maxLength":255 }, "updateBy":{ "default":"", "x-system":true, "x-id":"93a079a", "name":"updateBy", "format":"father-son", "pattern":"", "x-hidden":true, "x-index":6, "type":"string", "title":"修改人", "x-unique":false, "x-parent":{ "fatherAction":"judge", "type":"father-son", "parentDataSourceName":"sys_user" } }, "groupbuy_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"eebebaa9", "format":"", "description":"", "type":"string", "x-index":43, "title":"规格_id", "x-unique":false, "maxLength":255 }, "tracking_number":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"5a4dc276", "format":"", "description":"", "type":"string", "x-index":20, "title":"物流单号", "x-unique":false, "maxLength":255 }, "specs_index":{ "x-required":false, "x-keyPath":"", "x-id":"b1a83291", "format":"", "description":"", "type":"number", "x-index":4, "title":"规格", "x-unique":false }, "updatedAt":{ "default":0, "x-system":true, "x-id":"d58e2ba", "format":"datetime", "x-index":3, "title":"更新时间", "type":"number", "x-unique":false }, "owner":{ "default":"", "x-system":true, "x-id":"f89eda4", "name":"owner", "format":"father-son", "pattern":"", "x-hidden":true, "x-index":4, "title":"所有人", "type":"string", "x-unique":false, "x-parent":{ "fatherAction":"judge", "type":"father-son", "parentDataSourceName":"sys_user" } }, "updat_adress":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"4342f4f5", "format":"", "description":"", "type":"string", "x-index":14, "title":"修改后地址", "x-unique":false, "maxLength":255 }, "real_money":{ "x-required":false, "x-keyPath":"", "x-id":"8cfb44a2", "format":"", "numberCount":2, "description":"", "type":"number", "x-index":18, "title":"实际付款金额", "x-unique":false }, "way":{ "x-required":false, "x-keyPath":"", "x-id":"4e8a7f9c", "format":"", "description":"0-邮寄1-自提", "type":"number", "x-index":24, "title":"收货方式", "x-unique":false }, "createBy":{ "default":"", "x-system":true, "x-id":"0e6499c", "name":"createBy", "format":"father-son", "pattern":"", "x-hidden":true, "x-index":5, "type":"string", "title":"创建人", "x-unique":false, "x-parent":{ "fatherAction":"judge", "type":"father-son", "parentDataSourceName":"sys_user" } }, "user_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"c2c1e775", "format":"", "description":"", "type":"string", "x-index":2, "title":"用户_id", "x-unique":false, "maxLength":255 }, "num_index":{ "x-required":false, "x-keyPath":"", "x-id":"9627494f", "format":"", "description":"", "type":"number", "x-index":8, "title":"商品数量", "x-unique":false }, "_openid":{ "default":"", "x-system":true, "x-id":"1e1490b", "name":"_openid", "format":"", "pattern":"", "description":"仅微信云开发下使用", "x-index":45, "title":"记录创建者", "type":"string", "x-unique":false }, "_id":{ "x-system":true, "x-id":"08040fb", "format":"", "x-index":1, "type":"string", "title":"数据标识", "x-unique":true }, "order_id":{ "x-required":false, "x-keyPath":"", "minLength":0, "x-id":"6b13f742", "format":"", "description":"", "type":"string", "x-index":32, "title":"订单号", "x-unique":false, "maxLength":255 }, "status":{ "x-required":false, "x-keyPath":"", "x-id":"bc2278d6", "format":"", "description":"0-待付款 1-待收货 2-已完成 3-已取消", "type":"number", "x-index":26, "title":"状态", "x-unique":false } } }, "templateCode":"", "title":"订单", "type":"database" }