Ghost/ghost/admin/app/models/member.js
2019-11-05 18:00:07 +07:00

12 lines
290 B
JavaScript

import DS from 'ember-data';
import attr from 'ember-data/attr';
export default DS.Model.extend({
name: attr('string'),
email: attr('string'),
note: attr('string'),
createdAt: attr('moment-utc'),
stripe: attr('member-subscription'),
subscribed: attr('boolean')
});