Class Model

public

Base class from which Models can be define.

import Model, { attr } from '@ember-data/model';

export default class User extends Model {
  @attr name;
}