linstrom/frontend-reactive/app/models/relation.ts

11 lines
295 B
TypeScript
Raw Normal View History

2024-11-20 14:39:24 +00:00
import Model, { attr } from '@ember-data/model'
export default class RelationModel extends Model {
@attr declare createdAt: Date
@attr declare updatedAt: Date
@attr declare fromId: string
@attr declare toId: string
@attr declare requested: boolean
@attr declare accepted: boolean
}