Commit 8c98a8a2 authored by mechtelm's avatar mechtelm
Browse files

Add principal relation entity

parent 2762c416
import {Entity, PrimaryColumn} from 'typeorm';
@Entity()
class Principal {
@PrimaryColumn()
public id: number;
@PrimaryColumn({
name: 'sub_id'
})
public subId: number;
}
export default Principal;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment