update position date
This commit is contained in:
@ -41,6 +41,11 @@ export class CifAccount {
|
||||
})
|
||||
open_date: Date;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
})
|
||||
position_date: Date;
|
||||
|
||||
@ManyToOne(() => Product, { onDelete: "RESTRICT" })
|
||||
@JoinColumn()
|
||||
product: Product
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, Index, JoinColumn, ManyToOne } from 'typeorm';
|
||||
|
||||
import { Status } from '../types/status';
|
||||
import { Category } from './categories';
|
||||
import { CategorySource } from '../types/category_source';
|
||||
|
||||
@Entity('products')
|
||||
|
||||
Reference in New Issue
Block a user