alioth/before/hoto/reference/graphResource2/gen-Model/models/lauchuserstructrelationorganizationaccent.js
2025-05-30 09:18:01 +08:00

43 lines
950 B
JavaScript

const Sequelize = require('sequelize');
module.exports = function(sequelize, DataTypes) {
return sequelize.define('lauchuserstructrelationorganizationaccent', {
organizationRelationAccentId: {
autoIncrement: true,
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
uuid: {
type: DataTypes.UUID,
allowNull: false
},
organizationStruct: {
type: DataTypes.INTEGER,
allowNull: false
},
createTime: {
type: DataTypes.DATE,
allowNull: false
},
isDelete: {
type: DataTypes.STRING(64),
allowNull: false,
defaultValue: ""
}
}, {
sequelize,
tableName: 'lauchuserstructrelationorganizationaccent',
timestamps: false,
indexes: [
{
name: "PRIMARY",
unique: true,
using: "BTREE",
fields: [
{ name: "organizationRelationAccentId" },
]
},
]
});
};