import { Entity, Column, Double } from "typeorm";
import { EntityBase } from "../base/Base";

@Entity("ProfileSalaries")
export class ProfileSalaries extends EntityBase {
  @Column({
    nullable: true,
    default: null,
  })
  Order: number;

  @Column({
    nullable: true,
    default: null,
  })
  Date: Date;

  @Column({
    nullable: true,
    default: null,
  })
  posNo: string;

  @Column({
    nullable: true,
    default: null,
  })
  SalaryRef: string;

  @Column({
    nullable: true,
    type: "double",
  })
  Amount: Double;

  @Column({
    nullable: true,
    type: "double",
  })
  PositionSalaryAmount: Double;

  @Column({
    nullable: true,
    default: null,
  })
  PosNoName: string;

  @Column({
    nullable: true,
    default: null,
  })
  PositionTypeName: string;

  @Column({
    nullable: true,
    default: null,
  })
  PositionLevelName: string;

  @Column({
    nullable: true,
    default: null,
  })
  PositionName: string;

  @Column({
    nullable: true,
    default: null,
  })
  ProfileId: string;
}
