Browse Source

(*)员工沟通统计表,表模型更改

master
zmh 2 years ago
parent
commit
5cd8eed83d
  1. 18
      api/app/lib/models/employee_communicate.js

18
api/app/lib/models/employee_communicate.js

@ -52,7 +52,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
communicateContent: { communicateContent: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -61,7 +61,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
communicateResult: { communicateResult: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -79,7 +79,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
communicateCondition: { communicateCondition: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -88,7 +88,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
nextPlan: { nextPlan: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -97,7 +97,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
topic: { topic: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -115,7 +115,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
background: { background: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -124,7 +124,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
suggestion: { suggestion: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -133,7 +133,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
toPersonSugges: { toPersonSugges: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,
@ -142,7 +142,7 @@ module.exports = dc => {
autoIncrement: false autoIncrement: false
}, },
training: { training: {
type: DataTypes.STRING, type: DataTypes.TEXT,
allowNull: false, allowNull: false,
defaultValue: null, defaultValue: null,
comment: null, comment: null,

Loading…
Cancel
Save