2023-04-18 18:10:41 +03:00
|
|
|
import Model, {attr, belongsTo} from '@ember-data/model';
|
|
|
|
|
|
|
|
export default class PostRevisionModel extends Model {
|
|
|
|
@attr('string') lexical;
|
|
|
|
@attr('string') title;
|
2024-06-05 16:47:33 +03:00
|
|
|
@attr('string') customExcerpt;
|
2023-04-21 15:20:01 +03:00
|
|
|
@attr('string') featureImage;
|
2023-04-21 16:53:35 +03:00
|
|
|
@attr('string') featureImageAlt;
|
|
|
|
@attr('string') featureImageCaption;
|
2023-04-21 16:36:35 +03:00
|
|
|
@attr('string') reason;
|
2023-04-18 18:10:41 +03:00
|
|
|
@attr('moment-utc') createdAt;
|
|
|
|
@belongsTo('user') author;
|
2023-04-21 15:51:10 +03:00
|
|
|
@attr('string') postStatus;
|
2023-04-18 18:10:41 +03:00
|
|
|
}
|