2023-12-10 17:23:48 +01:00
|
|
|
import Record from '@osm/Models/Record';
|
|
|
|
import {Attr, Model} from 'spraypaint';
|
2023-04-20 20:00:38 +02:00
|
|
|
|
2023-12-10 17:23:48 +01:00
|
|
|
@Model()
|
|
|
|
export default class User extends Record {
|
|
|
|
static jsonapiType = 'users';
|
2023-04-20 20:00:38 +02:00
|
|
|
|
2023-12-10 17:23:48 +01:00
|
|
|
@Attr() username!: string;
|
|
|
|
@Attr() email!: string;
|
2023-04-20 20:00:38 +02:00
|
|
|
}
|