You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
950 B
43 lines
950 B
8 months ago
|
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" },
|
||
|
]
|
||
|
},
|
||
|
]
|
||
|
});
|
||
|
};
|