oneuptime/Common/Models/Lead.ts
2022-04-27 20:38:55 +01:00

37 lines
494 B
TypeScript
Executable File

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