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.
65 lines
1.7 KiB
65 lines
1.7 KiB
2 years ago
|
/* eslint-disable*/
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = dc => {
|
||
|
const DataTypes = dc.ORM;
|
||
|
const sequelize = dc.orm;
|
||
|
const EmployeeCommunicate = sequelize.define("employeeCommunicate", {
|
||
|
id: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: false,
|
||
|
primaryKey: true,
|
||
|
field: "id",
|
||
|
autoIncrement: true,
|
||
|
},
|
||
|
personalName: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "personalname",
|
||
|
},
|
||
|
job: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "job",
|
||
|
},
|
||
|
departmentName: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "departmentname",
|
||
|
},
|
||
|
communicateDate: {
|
||
|
type: DataTypes.DATE,
|
||
|
allowNull: false,
|
||
|
field: "communicatedate",
|
||
|
},
|
||
|
communicateContent: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "communicatecontent",
|
||
|
},
|
||
|
communicateResult: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "communicateresult",
|
||
|
},
|
||
|
valuation: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "valuation",
|
||
|
},
|
||
|
communicateCondition: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "communicatecondition",
|
||
|
},
|
||
|
nextPlan: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: true,
|
||
|
field: "nextplan",
|
||
|
}
|
||
|
}, {
|
||
|
tableName: "employee_communicate",
|
||
|
});
|
||
|
dc.models.EmployeeCommunicate = EmployeeCommunicate;
|
||
|
return EmployeeCommunicate;
|
||
|
};
|