import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('sms_templates')
export class SMSTemplates extends BaseEntity {
  @PrimaryGeneratedColumn({
    comment: 'the unique identifier',
  })
  idSMS_Templates: number;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Type: string;
  @Column({
    type: 'text',
    nullable: false,
  })
  Template: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: true,
    default: '1',
  })
  Status: string;

  @Column({
    type: 'varchar',
    length: 45,
    nullable: false,
  })
  Last_Updated_Time: string;

  @Column({
    type: 'int',
    nullable: false,
  })
  User_idUser: number;
}
