table2.entity.ts 1.09 KB
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
@Entity('dj_car_life_customer_dynamic_record') // 培训资料、营销素材、场景集市
export class DB1_Table2Entity {
  @Column({ type: 'json' })
  @PrimaryGeneratedColumn()
  id: number         
  @Column({ name: 'customer_account_uuid' })
  customer_account_uuid: string;
  @Column({ name: 'customer_account_name' })
  customer_account_name: string
  @Column({ name: 'customer_mobile' })
  customer_mobile: string
  @Column({ name: 'goods_id' })
  goods_id: string
  @Column({ name: 'goods_type' })
  goods_type: number
  @Column({ name: 'enter_date' })
  enter_date: string
  @Column({ name: 'leave_date' })
  leave_date: string
  @Column({ name: 'browse_duration' })
  browse_duration: string
  @Column({ name: 'merchant_id' })
  merchant_id: string
  @Column({ name: 'created_by' })
  created_by: string
  @Column({ name: 'merchant_name' })
  merchant_name: string
  @Column({ name: 'created_date' })
  created_date: string
  @Column({ name: 'updated_date' })
  updated_date: string
  @Column({ name: 'deleted_flag' })
  deleted_flag: string
}