diff --git a/models/sub_distributors.json b/models/sub_distributors.json index fdac8c2..08f149e 100644 --- a/models/sub_distributors.json +++ b/models/sub_distributors.json @@ -18,26 +18,26 @@ "nullable": "no" }, { - "name": "resellerid", - "title": "所属主分销商机构ID", - "type": "str", - "length": 32, - "nullable": "no" + "name": "resellerid", + "title": "所属主分销商机构ID", + "type": "str", + "length": 32, + "nullable": "no" }, { - "name": "sub_distributorid", - "title": "二级分销商机构ID", - "type": "str", - "length": 32, - "nullable": "no", - "default": "" + "name": "sub_distributorid", + "title": "二级分销商机构ID", + "type": "str", + "length": 32, + "nullable": "no", + "default": "" }, { - "name": "sub_dist_name", - "title": "二级分销商名称", - "type": "str", - "length": 255, - "nullable": "no" + "name": "sub_dist_name", + "title": "二级分销商名称", + "type": "str", + "length": 255, + "nullable": "no" }, { "name": "contact_person", @@ -111,14 +111,12 @@ "name": "created_at", "title": "创建时间", "type": "datetime", - "nullable": "no", - "default": "CURRENT_TIMESTAMP" + "nullable": "no" }, { "name": "updated_at", "title": "更新时间", - "type": "datetime", - "default": "CURRENT_TIMESTAMP" + "type": "datetime" } ], "indexes": [ @@ -166,4 +164,4 @@ "cond": "parentid='sub_distributor_status'" } ] -} \ No newline at end of file +}