Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/beximco/proxy_server-master/models/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const Sequelize = require("sequelize");
const sequelize = require("../util/database");
// const User = require("./user");
const Service = sequelize.define("services", {
id: {
type: Sequelize.INTEGER,
autoIncrement: true,
allowNull: false,
primaryKey: true,
},
shortCode: {
type: Sequelize.STRING,
allowNull: false,
},
operator: {
type: Sequelize.STRING,
allowNull: false,
},
keyWord: {
type: Sequelize.STRING,
allowNull: false,
},
rate: {
type: Sequelize.DECIMAL(10,2),
allowNull: false,
},
serviceTier: {
type: Sequelize.STRING,
allowNull: false,
},
chargeType: {
type: Sequelize.STRING,
allowNull: false,
},
timeLine: {
type: Sequelize.STRING,
allowNull: false,
},
serviceid: {
type: Sequelize.STRING,
allowNull: false,
},
vendor: {
type: Sequelize.INTEGER,
allowNull: false
// model: "user"
}
},{ timestamps: false });
// User.hasMany(Partner,{foreignKey: 'vendor'});
// Partner.belongsTo(User);
module.exports = Service; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.033 ]-- |