四好公路
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.
 
 
 
 

106 lines
2.4 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const Assess = sequelize.define("assess", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "assess_id_uindex"
},
unit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "考核单位",
primaryKey: false,
field: "unit",
autoIncrement: false
},
month: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: null,
comment: "考核月份",
primaryKey: false,
field: "month",
autoIncrement: false
},
totalPoints: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "总分",
primaryKey: false,
field: "total_points",
autoIncrement: false
},
industryPoints: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "业内得分",
primaryKey: false,
field: "industry_points",
autoIncrement: false
},
industryOutPoints: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "业外得分",
primaryKey: false,
field: "industry_out_points",
autoIncrement: false
},
plusOrSubtract: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "加减得分",
primaryKey: false,
field: "plus_or_subtract",
autoIncrement: false
},
industryDeductionReason: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "业内扣分原因\n",
primaryKey: false,
field: "industry_deduction_reason ",
autoIncrement: false
},
industryOutDeductionReason: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "业外扣分原因",
primaryKey: false,
field: "industry_out_deduction_reason",
autoIncrement: false
},
remark: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "备注",
primaryKey: false,
field: "remark",
autoIncrement: false
}
}, {
tableName: "assess",
comment: "",
indexes: []
});
dc.models.Assess = Assess;
return Assess;
};