aux-dbf
Version:
DBF for price PSM
50 lines • 1.56 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var COLUMN_TYPE;
(function (COLUMN_TYPE) {
COLUMN_TYPE["BINARY"] = "B";
COLUMN_TYPE["CHARACTER"] = "C";
COLUMN_TYPE["DATE"] = "D";
COLUMN_TYPE["FLOAT"] = "F";
COLUMN_TYPE["GENERAL_OLE"] = "G";
COLUMN_TYPE["INTEGER"] = "I";
COLUMN_TYPE["LOGICAL"] = "L";
COLUMN_TYPE["MEMO"] = "M";
COLUMN_TYPE["NUMBER"] = "N";
COLUMN_TYPE["DOUBLE"] = "O";
COLUMN_TYPE["PICTURE"] = "P";
COLUMN_TYPE["VARBINARY"] = "Q";
COLUMN_TYPE["DATE_TIME"] = "T";
COLUMN_TYPE["VARCHAR"] = "V";
COLUMN_TYPE["BLOB"] = "W";
COLUMN_TYPE["CURRENCY"] = "Y";
COLUMN_TYPE["TIMESTAMP"] = "@";
COLUMN_TYPE["AUTOINCREMENT"] = "+";
})(COLUMN_TYPE = exports.COLUMN_TYPE || (exports.COLUMN_TYPE = {}));
var Column = /** @class */ (function () {
function Column() {
}
Column.prototype.Add = function (name, size, type, index, decimalPlaces, isMDX) {
this.name = name;
this.size = size;
this.type = type;
this.index = index;
this.decimalPlaces = decimalPlaces;
this.isMDX = isMDX;
};
Column.prototype.getDecimalPlaces = function () {
return this.decimalPlaces;
};
Column.prototype.getTitle = function () {
return this.name;
};
Column.prototype.getType = function () {
return this.type;
};
Column.prototype.getSize = function () {
return this.size;
};
return Column;
}());
exports.Column = Column;
//# sourceMappingURL=Column.js.map