{"size": 538, "ext": "js", "max_stars_repo_path": "server/app/models/db/dmmRankSchema.js", "max_stars_repo_name": "Eddie104/AVManager4.0", "max_stars_repo_stars_event_min_datetime": "2016-09-21T09:54:47.000Z", "max_stars_repo_stars_event_max_datetime": "2016-09-21T09:54:47.000Z", "max_issues_repo_path": "server/app/models/db/dmmRankSchema.js", "max_issues_repo_name": "Eddie104/AVManager4.0", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/app/models/db/dmmRankSchema.js", "max_forks_repo_name": "Eddie104/AVManager4.0", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.3157894737, "max_line_length": 97, "alphanum_fraction": 0.6524163569}
"use strict";

/**
 * DMM排名数据表
 */
let mongoose      = require('mongoose');
let autoIncrement = require('./db');
let dateUtil      = require('../../../app/utils/dateUtil');

let dmmRankSchema = new mongoose.Schema({
	date: {type: Number, required: true},
	// rank: {type: [{rank: Number, name: String, id: mongoose.Schema.Types.ObjectId}], default: []}
	rank: {type: Number, default: -1},
	name: {type: String, default: ''},
	actressID: {type: mongoose.Schema.Types.ObjectId}
}, {collection: "dmmRank"});

module.exports = dmmRankSchema;
