src/sales-force/entities/sales-force-type.entity.ts
Properties |
|
active |
Type : boolean
|
Decorators :
@Column({name: 'active'})
|
id |
Type : number
|
Decorators :
@PrimaryGeneratedColumn({name: 'id'})
|
Optional lastAlterationDate |
Type : any
|
nameSalesForceType |
Type : string
|
Decorators :
@Column({name: 'name_sales_force_type', type: 'varchar', length: 60})
|
Optional registrationDate |
Type : any
|
userCreate |
Type : string
|
Decorators :
@Column({name: 'user_create', nullable: true})
|
userLastChange |
Type : string
|
Decorators :
@Column({name: 'user_last_change', nullable: true})
|
import {
Column,
JoinColumn,
OneToMany,
PrimaryColumn,
PrimaryGeneratedColumn,
ViewEntity,
} from 'typeorm';
import { BaseEntity } from './base.entity';
@BaseEntity({ name: 'sales_force_type', schema: 'sales_force' })
export class SalesForceType {
@PrimaryGeneratedColumn({ name: 'id' })
id: number;
@Column({ name: 'name_sales_force_type', type: 'varchar', length: 60 })
nameSalesForceType: string;
@Column({ name: 'active', })
active: boolean;
@Column({ name: 'user_create', nullable: true })
userCreate: string;
@Column({ name: 'user_last_change', nullable: true })
userLastChange: string;
registrationDate?: any;
lastAlterationDate?: any;
}