人力资源
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.
 
 
 
 

61 lines
1.4 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const TrainingInformationLevel = sequelize.define("trainingInformationLevel", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true
},
type: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "type",
autoIncrement: false
},
departmentname: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: '部门(2级目录)',
primaryKey: false,
field: "departmentname",
autoIncrement: false
},
traindate: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: null,
comment: '培训时间(3级目录)',
primaryKey: false,
field: "traindate",
autoIncrement: false
},
origin: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: null,
primaryKey: false,
field: "origin",
autoIncrement: false
}
}, {
tableName: "training_information_level",
comment: "",
indexes: []
});
dc.models.TrainingInformationLevel = TrainingInformationLevel;
return TrainingInformationLevel;
};