Skip to content

Instantly share code, notes, and snippets.

@rightisleft
Created April 9, 2019 15:51
Show Gist options
  • Save rightisleft/bcf2a17cb97e74e4b357266a2e2b230c to your computer and use it in GitHub Desktop.
Save rightisleft/bcf2a17cb97e74e4b357266a2e2b230c to your computer and use it in GitHub Desktop.
import {DTOBase} from "./base.dto";
import {Column, CreateDateColumn, UpdateDateColumn} from "typeorm";
export class DTOClassification extends DTOBase {
@Column('integer')
public modelId: number;
@Column('integer')
public topicId: number;
@UpdateDateColumn()
public updatedAt: Date;
@Column('text')
public createdBy: string;
@Column('jsonb')
public picklefileMeta: any;
@Column('text')
public picklefileUrl: string;
@Column('bigint')
public modelMemory: number;
@Column('decimal')
public f1: number;
@Column('decimal')
public precision: number;
@Column('decimal')
public recall: number;
@Column('decimal')
public auc: number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment