Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
RuiPengLoopbackApi
Commits
a86117a8
Commit
a86117a8
authored
Sep 23, 2019
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7e71d098
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
26 deletions
+45
-26
bill-category.js
common/models/bill-category.js
+5
-0
bill-category.json
common/models/bill-category.json
+23
-8
bill-shop.js
common/models/bill-shop.js
+5
-0
bill-shop.json
common/models/bill-shop.json
+8
-8
warehousing-category.js
common/models/warehousing-category.js
+0
-5
warehousing-shop.js
common/models/warehousing-shop.js
+0
-5
model-config.json
server/model-config.json
+4
-0
No files found.
common/models/bill-category.js
0 → 100644
View file @
a86117a8
'use strict'
;
module
.
exports
=
function
(
Billcategory
)
{
};
common/models/
warehousing
-category.json
→
common/models/
bill
-category.json
View file @
a86117a8
{
{
"name"
:
"
Warehousing
Category"
,
"name"
:
"
Bill
Category"
,
"base"
:
"PersistedModel"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"idInjection"
:
false
,
"options"
:
{
"options"
:
{
...
@@ -7,9 +7,24 @@
...
@@ -7,9 +7,24 @@
},
},
"mysql"
:
{
"mysql"
:
{
"schema"
:
"wordpress"
,
"schema"
:
"wordpress"
,
"table"
:
"
warehousing
_category"
"table"
:
"
bill
_category"
},
},
"properties"
:
{
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"name"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
false
,
"required"
:
false
,
...
@@ -25,14 +40,14 @@
...
@@ -25,14 +40,14 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
sku
"
:
{
"
value1
"
:
{
"type"
:
"Number"
,
"type"
:
"Number"
,
"required"
:
false
,
"required"
:
false
,
"length"
:
null
,
"length"
:
null
,
"precision"
:
45
,
"precision"
:
45
,
"scale"
:
0
,
"scale"
:
0
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
sku
"
,
"columnName"
:
"
value1
"
,
"dataType"
:
"decimal"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataLength"
:
null
,
"dataPrecision"
:
45
,
"dataPrecision"
:
45
,
...
@@ -40,14 +55,14 @@
...
@@ -40,14 +55,14 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
diff
"
:
{
"
value2
"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
true
,
"required"
:
true
,
"length"
:
2
,
"length"
:
2
,
"precision"
:
null
,
"precision"
:
null
,
"scale"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
diff
"
,
"columnName"
:
"
value2
"
,
"dataType"
:
"varchar"
,
"dataType"
:
"varchar"
,
"dataLength"
:
2
,
"dataLength"
:
2
,
"dataPrecision"
:
null
,
"dataPrecision"
:
null
,
...
@@ -55,14 +70,14 @@
...
@@ -55,14 +70,14 @@
"nullable"
:
"N"
"nullable"
:
"N"
}
}
},
},
"
percent
"
:
{
"
value3
"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
false
,
"required"
:
false
,
"length"
:
55
,
"length"
:
55
,
"precision"
:
null
,
"precision"
:
null
,
"scale"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
percent
"
,
"columnName"
:
"
value3
"
,
"dataType"
:
"varchar"
,
"dataType"
:
"varchar"
,
"dataLength"
:
55
,
"dataLength"
:
55
,
"dataPrecision"
:
null
,
"dataPrecision"
:
null
,
...
...
common/models/bill-shop.js
0 → 100644
View file @
a86117a8
'use strict'
;
module
.
exports
=
function
(
Billshop
)
{
};
common/models/
warehousing
-shop.json
→
common/models/
bill
-shop.json
View file @
a86117a8
{
{
"name"
:
"
Warehousing
Shop"
,
"name"
:
"
Bill
Shop"
,
"base"
:
"PersistedModel"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"idInjection"
:
false
,
"options"
:
{
"options"
:
{
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
},
},
"mysql"
:
{
"mysql"
:
{
"schema"
:
"wordpress"
,
"schema"
:
"wordpress"
,
"table"
:
"
warehousing
_shop"
"table"
:
"
bill
_shop"
},
},
"properties"
:
{
"properties"
:
{
"name"
:
{
"name"
:
{
...
@@ -25,14 +25,14 @@
...
@@ -25,14 +25,14 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
sku
"
:
{
"
value1
"
:
{
"type"
:
"Number"
,
"type"
:
"Number"
,
"required"
:
false
,
"required"
:
false
,
"length"
:
null
,
"length"
:
null
,
"precision"
:
45
,
"precision"
:
45
,
"scale"
:
0
,
"scale"
:
0
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
sku
"
,
"columnName"
:
"
value1
"
,
"dataType"
:
"decimal"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataLength"
:
null
,
"dataPrecision"
:
45
,
"dataPrecision"
:
45
,
...
@@ -40,14 +40,14 @@
...
@@ -40,14 +40,14 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
diff
"
:
{
"
value2
"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
true
,
"required"
:
true
,
"length"
:
2
,
"length"
:
2
,
"precision"
:
null
,
"precision"
:
null
,
"scale"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
diff
"
,
"columnName"
:
"
value2
"
,
"dataType"
:
"varchar"
,
"dataType"
:
"varchar"
,
"dataLength"
:
2
,
"dataLength"
:
2
,
"dataPrecision"
:
null
,
"dataPrecision"
:
null
,
...
@@ -55,14 +55,14 @@
...
@@ -55,14 +55,14 @@
"nullable"
:
"N"
"nullable"
:
"N"
}
}
},
},
"
percent
"
:
{
"
value3
"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
false
,
"required"
:
false
,
"length"
:
55
,
"length"
:
55
,
"precision"
:
null
,
"precision"
:
null
,
"scale"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
percent
"
,
"columnName"
:
"
value3
"
,
"dataType"
:
"varchar"
,
"dataType"
:
"varchar"
,
"dataLength"
:
55
,
"dataLength"
:
55
,
"dataPrecision"
:
null
,
"dataPrecision"
:
null
,
...
...
common/models/warehousing-category.js
deleted
100644 → 0
View file @
7e71d098
'use strict'
;
module
.
exports
=
function
(
Warehousingcategory
)
{
};
common/models/warehousing-shop.js
deleted
100644 → 0
View file @
7e71d098
'use strict'
;
module
.
exports
=
function
(
Warehousingshop
)
{
};
server/model-config.json
View file @
a86117a8
...
@@ -676,5 +676,9 @@
...
@@ -676,5 +676,9 @@
"HosRevenue"
:
{
"HosRevenue"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
"BillCategory"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment