import { PcdBaseEntity } from "src/framework/custom/pcd-entity.custom";
import { TenderMaster } from "src/tables/tender-master/tender-master.entity";
import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from "typeorm";

@Entity('emd_fee_type')
export class EmdFeeType extends PcdBaseEntity{

    @PrimaryGeneratedColumn({
        name:"id"
    })
    id:number

    @Column({
        name:'emd_fee_type',
        type:'varchar',
        length:500,
        nullable:true
    })
    emdFeeType:string

    @OneToMany(() => TenderMaster, (tenderMaster) => tenderMaster.emdFeeTypeD )
    tenderMaster:TenderMaster[]

}