src/model/*: added insuranceData and participants
parent
be7c1a0d39
commit
c06bb1d1f1
@ -0,0 +1,48 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
|
||||
|
||||
@Entity()
|
||||
export class InsuranceData {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number
|
||||
|
||||
@Column()
|
||||
name: string;
|
||||
|
||||
@Column()
|
||||
benefector: string;
|
||||
|
||||
@Column()
|
||||
noPnP: string;
|
||||
|
||||
@Column()
|
||||
maintananceResponisble: string;
|
||||
|
||||
@Column()
|
||||
maintanceBenfector: string;
|
||||
|
||||
@Column({
|
||||
nullable: true
|
||||
})
|
||||
maintanceAgreement: string;
|
||||
|
||||
@Column({
|
||||
nullable: true
|
||||
})
|
||||
hasFixedRate: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true
|
||||
})
|
||||
fixedRate: number;
|
||||
|
||||
@Column({
|
||||
type: 'money',
|
||||
nullable: true
|
||||
})
|
||||
projectAllowance: number;
|
||||
|
||||
@Column({
|
||||
nullable: true
|
||||
})
|
||||
note: string;
|
||||
}
|
Loading…
Reference in New Issue