'use strict';
const hdbTerm = require("../../utility/hdbTerms.js");
const moment = require('moment');
const uuidV4 = require('uuid').v4;
/**
 * This class represents a Job as it resides in the jobs table.
 */
class JobObject {
    constructor() {
        this.id = uuidV4();
        this.type = undefined;
        this.start_datetime = moment().valueOf();
        this.created_datetime = moment().valueOf();
        this.end_datetime = undefined;
        this.status = hdbTerm.JOB_STATUS_ENUM.CREATED;
        this.message = undefined;
        this.user = undefined;
        this.request = undefined;
    }
}
module.exports = JobObject;
//# sourceMappingURL=JobObject.js.map