datasurvey/src/main/webapp/app/admin/user-management/user-management.model.ts

32 lines
746 B
TypeScript
Raw Normal View History

2021-07-03 21:48:27 +00:00
export interface IUser {
id?: number;
login?: string;
firstName?: string | null;
lastName?: string | null;
email?: string;
activated?: boolean;
langKey?: string;
authorities?: string[];
createdBy?: string;
createdDate?: Date;
lastModifiedBy?: string;
lastModifiedDate?: Date;
}
export class User implements IUser {
constructor(
public id?: number,
public login?: string,
public firstName?: string | null,
public lastName?: string | null,
public email?: string,
public activated?: boolean,
public langKey?: string,
public authorities?: string[],
public createdBy?: string,
public createdDate?: Date,
public lastModifiedBy?: string,
public lastModifiedDate?: Date
) {}
}