mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
32 lines
457 B
TypeScript
32 lines
457 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
import Project from './Project';
|
|
import Role from '../Types/Role';
|
|
|
|
@Entity({
|
|
name: "SsoDefaultRole"
|
|
})
|
|
export default class SsoDefaultRole extends BaseModel {
|
|
|
|
@Column()
|
|
domain!: string
|
|
|
|
@Column()
|
|
project!: Project
|
|
|
|
@Column()
|
|
role!: Role
|
|
|
|
@Column()
|
|
deletedByUser!: User
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|