2019-09-25 22:08:56 +02:00
|
|
|
export class SelectionReadOnly {
|
2021-12-20 18:04:00 +01:00
|
|
|
static template(): SelectionReadOnly {
|
|
|
|
return new SelectionReadOnly("00000000-0000-0000-0000-000000000000", false, false);
|
|
|
|
}
|
2019-09-25 22:08:56 +02:00
|
|
|
|
2021-12-20 18:04:00 +01:00
|
|
|
id: string;
|
|
|
|
readOnly: boolean;
|
|
|
|
hidePasswords: boolean;
|
2019-09-25 22:08:56 +02:00
|
|
|
|
2021-12-20 18:04:00 +01:00
|
|
|
constructor(id: string, readOnly: boolean, hidePasswords: boolean) {
|
|
|
|
this.id = id;
|
|
|
|
this.readOnly = readOnly;
|
|
|
|
this.hidePasswords = hidePasswords || false;
|
|
|
|
}
|
2019-09-25 22:08:56 +02:00
|
|
|
}
|