Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-05-11 21:52:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
35e88303865658c76015f19a0c5e0ceef8d0a29d
35e88303
1 parent
8c5f7360
feat. get bottle id
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
server/src/models/bottle.js
server/src/models/bottle.js
View file @
35e8830
...
...
@@ -16,6 +16,10 @@ BottleSchema.statics.findByBottleId = function(bottleId) {
return
this
.
findOne
({
bottleId
});
};
BottleSchema
.
methods
.
getBottleId
=
function
()
{
return
this
.
bottleId
;
};
BottleSchema
.
methods
.
getRecentOpenDate
=
function
()
{
return
this
.
recentOpen
;
};
...
...
Please
register
or
login
to post a comment