123456789101112131415 |
- import {Model, Q} from '@nozbe/watermelondb';
- import {field, children, lazy, action} from '@nozbe/watermelondb/decorators';
- export default class RecentNews extends Model {
- static table = 'recent_news';
- // static associations = {};
- @field('headline')
- headline;
- @field('author')
- author;
- }
|