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.
160 lines
4.4 KiB
160 lines
4.4 KiB
/* 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,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: true,
|
|
field: "id",
|
|
autoIncrement: true
|
|
},
|
|
personalName: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "personalname",
|
|
autoIncrement: false
|
|
},
|
|
job: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "job",
|
|
autoIncrement: false
|
|
},
|
|
departmentName: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "departmentname",
|
|
autoIncrement: false
|
|
},
|
|
communicateDate: {
|
|
type: DataTypes.DATE,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "communicatedate",
|
|
autoIncrement: false
|
|
},
|
|
communicateContent: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "communicatecontent",
|
|
autoIncrement: false
|
|
},
|
|
communicateResult: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "communicateresult",
|
|
autoIncrement: false
|
|
},
|
|
valuation: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "valuation",
|
|
autoIncrement: false
|
|
},
|
|
communicateCondition: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "communicatecondition",
|
|
autoIncrement: false
|
|
},
|
|
nextPlan: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "nextplan",
|
|
autoIncrement: false
|
|
},
|
|
topic: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "topic",
|
|
autoIncrement: false
|
|
},
|
|
communicateEndDate: {
|
|
type: DataTypes.DATE,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "communicateenddate",
|
|
autoIncrement: false
|
|
},
|
|
background: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "background",
|
|
autoIncrement: false
|
|
},
|
|
suggestion: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "suggestion",
|
|
autoIncrement: false
|
|
},
|
|
toPersonSugges: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "topersonsugges",
|
|
autoIncrement: false
|
|
},
|
|
training: {
|
|
type: DataTypes.TEXT,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "training",
|
|
autoIncrement: false
|
|
}
|
|
}, {
|
|
tableName: "employee_communicate",
|
|
comment: "",
|
|
indexes: []
|
|
});
|
|
dc.models.EmployeeCommunicate = EmployeeCommunicate;
|
|
return EmployeeCommunicate;
|
|
};
|