import { Data } from './../../Data';
export class RecordData extends Data {
    public emdDpmJson: any;
    public emdJson: any;
    public gmtCreate: any;
    public img: string;
    public invalid: boolean;
    public orderTypeTitle: string;
    public quantity: number;
    public statusText: string;
    public text: string;
    public title: string;
    public trueActivityTitle: string;
    public url: string;

    public update(data: any): void {
        if(!data) {
            return;
        }
        super.update(data);
        this.emdDpmJson = data.emdDpmJson;
        this.emdJson = data.emdJson;
        this.gmtCreate = data.gmtCreate;
        this.img = data.img;
        this.invalid = data.invalid;
        this.orderTypeTitle = data.orderTypeTitle;
        this.quantity = data.quantity;
        this.statusText = data.statusText;
        this.text = data.text;
        this.title = data.title;
        this.trueActivityTitle = data.trueActivityTitle;
        this.url = data.url;
    }
}