2023-04-18 18:10:41 +03:00
|
|
|
import Model, {attr, belongsTo} from '@ember-data/model';
|
|
|
|
|
|
|
|
export default class PostRevisionModel extends Model {
|
|
|
|
@belongsTo('post') post;
|
|
|
|
@attr('string') lexical;
|
|
|
|
@attr('string') title;
|
|
|
|
@attr('moment-utc') createdAt;
|
|
|
|
@belongsTo('user') author;
|
|
|
|
}
|