oneuptime/Common/Models/SsoDefaultRole.ts
2022-04-27 20:38:55 +01:00

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
}