oneuptime/Common/Models/Lead.ts
Simon Larsen 053f70daac
fix
2022-05-01 13:41:55 +01:00

37 lines
573 B
TypeScript
Executable File

import { Column, Entity } from 'typeorm';
import BaseModel from './BaseModel';
@Entity({
name: 'Lead',
})
export default class Lead extends BaseModel {
@Column()
public name!: string;
@Column()
public email!: string;
@Column()
public website!: string;
@Column()
public phone!: string;
@Column()
public nameOfInterestedResource!: string;
@Column()
public country!: string;
@Column()
public companySize!: string;
@Column()
public message!: string;
@Column()
public source!: string;
}