把 DOC/*.csn 移到 model 里

This commit is contained in:
jysperm
2014-05-23 00:02:01 +08:00
parent 93b301eeca
commit f8cd3743a7
4 changed files with 57 additions and 53 deletions

View File

@@ -1,28 +0,0 @@
_id: ObjectID('525284cc2cebb6d0008b4567')
username: 'jysperm'
passwd: '53673f434686ce045477f066f30eded55a9bb535a6cec7b73a60972ccafddb2a'
passwd_salt: '53673f434686b535a6cec7b73a60ce045477f066f30eded55a9b972ccafddb2a'
email: 'jysperm@gmail.com'
signup_at: ISODate('2013-02-22T03:03:37.312Z')
group: ['root']
setting:
avatar_url: 'http://ruby-china.org/avatar/efcc15b92617a95a09f514a9bff9e6c3?s=58'
language: 'zh_CN'
QQ: '184300584'
attribute:
service: ['shadowsocks']
plans: ['all']
balance: 100
last_billing: ISODate('2013-02-22T03:03:37.312Z')
arrears_at: ISODate('2013-02-22T03:03:37.312Z')
tokens: [
token: 'b535a6cec7b73a60c53673f434686e04972ccafddb2a5477f066f30eded55a9b'
available: true
created_at: ISODate('2013-02-22T03:03:37.312Z')
updated_at: ISODate('2013-02-22T03:03:37.312Z')
attribute:
ip: '123.184.237.163'
ua: 'Mozilla/5.0 (Intel Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102'
]

View File

@@ -1,25 +0,0 @@
_id: ObjectID('525284cc2cebb6d0008b4567')
account_id: ObjectID('525284cc2cebb6d0008b4567')
created_at: ISODate('2013-02-22T03:03:37.312Z')
updated_at: ISODate('2013-02-22T03:03:37.312Z')
title: 'Ticket Title'
content: 'Ticket Content(Markdown)'
content_html: 'Ticket Conetnt(HTML)'
type: 'linux'
status: 'open/pending/finish/closed'
members: [
ObjectID('525284cc2cebb6d0008b4567')
],
attribute: {
public: false
}
replys: [
{
_id: ObjectID('525284cc2cebb6d0008b4567')
account_id: ObjectID('525284cc2cebb6d0008b4567')
created_at: ISODate('2013-02-22T03:03:37.312Z')
content: 'Reply Content(Markdown)'
content_html: 'Reply Conetnt(HTML)'
attribute: {}
}
]