mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 05:23:06 +00:00
35 lines
773 B
TypeScript
35 lines
773 B
TypeScript
import { autoserialize, inheritSerialization } from 'cerialize';
|
|
import { typedObject } from '../../cache/builders/build-decorators';
|
|
|
|
import { DSpaceObject } from '../../shared/dspace-object.model';
|
|
import { HALLink } from '../../shared/hal-link.model';
|
|
import { FEEDBACK } from './feedback.resource-type';
|
|
|
|
@typedObject
|
|
@inheritSerialization(DSpaceObject)
|
|
export class Feedback extends DSpaceObject {
|
|
static type = FEEDBACK;
|
|
|
|
/**
|
|
* The email address
|
|
*/
|
|
@autoserialize
|
|
public email: string;
|
|
|
|
/**
|
|
* A string representing message the user inserted
|
|
*/
|
|
@autoserialize
|
|
public message: string;
|
|
/**
|
|
* A string representing the page from which the user came from
|
|
*/
|
|
@autoserialize
|
|
public page: string;
|
|
|
|
_links: {
|
|
self: HALLink;
|
|
};
|
|
|
|
}
|