fix create membership

This commit is contained in:
2021-12-09 01:52:44 +07:00
parent d65af44a52
commit d030624765
10 changed files with 78 additions and 44 deletions

View File

@@ -1,15 +0,0 @@
import {
Entity,
Column,
} from 'typeorm';
import { BaseModel } from '../../config/basemodel.entity';
import { balanceType } from '../../helper/enum-list';
@Entity()
export class CoaType extends BaseModel {
@Column()
name: string;
@Column('text')
normalBalance: balanceType;
}

View File

@@ -21,4 +21,9 @@ export class COA extends BaseModel {
@Column()
user: string;
@Column({
nullable:true
})
relatedUser: string;
}