var Ticket = DS.Model.extend({
    title: DS.attr('string'),
    description: DS.attr('string'),
    status: DS.attr('string'),
    creator: DS.belongsTo('user', {
        async: true,
        inverse: 'ticketsCreated'
    }),
    assignee: DS.belongsTo('user', {
        async: true,
        inverse: 'ticketsAssigned'
    })
});

Ticket.reopenClass({
    FIXTURES: [
    {
        id: 1,
        title: 'Ticket 1',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New'
    },
    {
        id: 2,
        title: 'Ticket 2',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New'
    },
    {
        id: 3,
        title: 'Ticket 3',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New'
    }

]});


export default Ticket;

var Ticket = DS.Model.extend({
    title: DS.attr('string'),
    description: DS.attr('string'),
    status: DS.attr('string'),
    creator: DS.belongsTo('user', {
        async: true,
        inverse: 'ticketsCreated'
    }),
    assignee: DS.belongsTo('user', {
        async: true,
        inverse: 'ticketsAssigned'
    })
});

Ticket.reopenClass({
    FIXTURES: [
    {
        id: 1,
        title: 'Ticket 1',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New',
        creator: 1,
        assignee: 2
    },
    {
        id: 2,
        title: 'Ticket 2',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New',
        creator: 2,
        assignee: 1
    },
    {
        id: 3,
        title: 'Ticket 3',
        description: 'Sed posuere consectetur est at lobortis.',
        status: 'New',
        creator: 1
    }

]});


export default Ticket;

Add properties to tickets models Fixture data