add: create supplier
This commit is contained in:
		| @@ -4,10 +4,16 @@ import { BaseModel } from '../../config/basemodel.entity'; | ||||
| import { hashPassword } from '../../helper/hash_password'; | ||||
| 
 | ||||
| @Entity() | ||||
| export class User extends BaseModel { | ||||
| export class Supplier extends BaseModel { | ||||
|   @PrimaryGeneratedColumn('uuid') | ||||
|   id: string; | ||||
| 
 | ||||
|   @Column() | ||||
|   name: string; | ||||
| 
 | ||||
|   @Column() | ||||
|   code: string; | ||||
| 
 | ||||
|   @Column() | ||||
|   status: boolean; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user