UNPKG

@tomei/sso

Version:
26 lines (25 loc) 820 B
import { Model } from 'sequelize-typescript'; import User from './user.entity'; import SystemPrivilegeModel from './system-privilege.entity'; import UserSystemAccessModel from './user-system-access.entity'; import GroupSystemAccessModel from './group-system-access.entity'; export default class SystemModel extends Model { SystemCode: string; Name: string; Description: string; AccessURL: string; GooglePlayURL: string; AppleStoreURL: string; APIKey: string; APISecret: string; Status: string; CreatedById: number; UpdatedById: number; CreatedAt: Date; UpdatedAt: Date; CreatedByUser: User; UpdatedByUser: User; SystemPrivileges: SystemPrivilegeModel[]; UserSystemAccesses: UserSystemAccessModel[]; GroupSystemAccesses: GroupSystemAccessModel[]; }