Shuo/lib/models/user.js

11 lines
139 B
JavaScript
Raw Normal View History

var _ = require("lodash");
module.exports = User;
function User(attr) {
_.merge(this, _.extend({
mode: "",
name: "",
}, attr));
};