54 lines
1.3 KiB
TypeScript
54 lines
1.3 KiB
TypeScript
import {EnumProfileStatus} from '../enums';
|
|
import {BaseObject} from '../Basic/baseObject';
|
|
|
|
export class EmpPublication extends BaseObject {
|
|
profileStatus: EnumProfileStatus;
|
|
employeeID: number;
|
|
publishersName: string;
|
|
title: string;
|
|
publicationType: string;
|
|
description: string;
|
|
remarks: string;
|
|
publicationDate: Date;
|
|
|
|
constructor() {
|
|
super();
|
|
this.profileStatus = EnumProfileStatus.Approve;
|
|
this.employeeID = undefined;
|
|
this.publishersName = '';
|
|
this.title = '';
|
|
this.publicationType = '';
|
|
this.description = '';
|
|
this.remarks = '';
|
|
this.publicationDate = new Date();
|
|
}
|
|
}
|
|
|
|
|
|
export const PublicationList = [
|
|
{
|
|
'id': 1,
|
|
'title': 'title 1',
|
|
'type': 'type 1',
|
|
'publicationDate': '27th Dec, 2013',
|
|
'publisherName': 'publisherName 1',
|
|
'description': 'description 1'
|
|
},
|
|
{
|
|
'id': 2,
|
|
'title': 'title 2',
|
|
'type': 'type 2',
|
|
'publicationDate': '28th Dec, 2013',
|
|
'publisherName': 'publisherName 2',
|
|
'description': 'description 2'
|
|
},
|
|
{
|
|
'id': 3,
|
|
'title': 'title 3',
|
|
'type': 'type 3',
|
|
'publicationDate': '29th Dec, 2013',
|
|
'publisherName': 'publisherName 3',
|
|
'description': 'description 3'
|
|
}
|
|
];
|