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

43 lines
580 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import Project from './Project';
@Entity({
name: "UserAlerts"
})
export default class Model extends BaseModel{
@Column()
id!: Schema.Types.Mixed;
@Column()
privateKeyPem!: Schema.Types.Mixed;
@Column()
privateKeyJwk!: Schema.Types.Mixed;
@Column()
publicKeyPem!: Schema.Types.Mixed;
@Column()
publicKeyJwk!: Schema.Types.Mixed;
@Column()
key!: Schema.Types.Mixed;
};
}