File

src/tag/tag.entity.ts

Index

Properties

Properties

id
id: number
Type : number
Decorators :
@PrimaryGeneratedColumn()
tag
tag: string
Type : string
Decorators :
@Column()
import {Entity, PrimaryGeneratedColumn, Column, BeforeInsert} from "typeorm";
import {IsEmail, Validate} from "class-validator";
import * as crypto from 'crypto';
import { CustomEmail } from './CustomEmail';

@Entity('tag')
export class TagEntity {

  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  tag: string;

}

result-matching ""

    No results matching ""