mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
16 lines
364 B
TypeScript
16 lines
364 B
TypeScript
import ObjectID from "../Types/ObjectID";
|
|
import BaseModel from "./BaseModel";
|
|
|
|
export default class AccessControlModel extends BaseModel {
|
|
// Please override this property in the child class
|
|
public name?: string = undefined;
|
|
|
|
public constructor(id?: ObjectID) {
|
|
super(id);
|
|
}
|
|
|
|
public override isAccessControlModel(): boolean {
|
|
return true;
|
|
}
|
|
}
|