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

@Entity()
export class WeightClass {
  @PrimaryGeneratedColumn()
  id: number

  @Column()
  name: string

  @Column()
  code: string

  @Column({ type: 'float' })
  value: number

  @Column()
  isDefault: boolean

  @Column()
  isActive: boolean
}
