add code on categories
This commit is contained in:
@ -8,6 +8,14 @@ export class Category {
|
|||||||
@PrimaryGeneratedColumn('uuid')
|
@PrimaryGeneratedColumn('uuid')
|
||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: 'enum',
|
||||||
|
enum: ['asset', 'fbi', 'dpk', 'kredit', 'casa', 'npl', 'ppap_umum', 'ppap_khusus'],
|
||||||
|
default: 'asset',
|
||||||
|
nullable: false
|
||||||
|
})
|
||||||
|
code: 'asset' | 'fbi' | 'dpk' | 'kredit' | 'casa' | 'npl' | 'ppap_umum' | 'ppap_khusus';
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
length: 256
|
length: 256
|
||||||
|
|||||||
Reference in New Issue
Block a user