import { entityKind } from "../../entity.js";
import { MsSqlColumnBuilderWithIdentity, MsSqlColumnWithIdentity } from "./common.js";
class MsSqlIntBuilder extends MsSqlColumnBuilderWithIdentity {
  static [entityKind] = "MsSqlIntBuilder";
  constructor(name) {
    super(name, "number", "MsSqlInt");
  }
  /** @internal */
  build(table) {
    return new MsSqlInt(table, this.config);
  }
}
class MsSqlInt extends MsSqlColumnWithIdentity {
  static [entityKind] = "MsSqlInt";
  getSQLType() {
    return `int`;
  }
}
function int(name) {
  return new MsSqlIntBuilder(name ?? "");
}
export {
  MsSqlInt,
  MsSqlIntBuilder,
  int
};
//# sourceMappingURL=int.js.map