/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const Project = sequelize.define("project", { id: { index: 1, type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "project_id_uindex" }, entryName: { index: 2, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "项目名称", primaryKey: false, field: "entry_name", autoIncrement: false }, projectMileage: { index: 3, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "工程里程", primaryKey: false, field: "project_mileage", autoIncrement: false }, investment: { index: 4, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "投资", primaryKey: false, field: "investment", autoIncrement: false }, buildUnit: { index: 5, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "建设单位", primaryKey: false, field: "build_unit", autoIncrement: false }, constructionControlUnit: { index: 6, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "监理单位", primaryKey: false, field: "construction_control_unit", autoIncrement: false }, designUnit: { index: 7, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "设计单位", primaryKey: false, field: "design_unit", autoIncrement: false }, constructionUnit: { index: 8, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "施工单位", primaryKey: false, field: "construction_unit", autoIncrement: false }, supervisorAndSupervisor: { index: 9, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "监督负责人及监督人员", primaryKey: false, field: "supervisor_and_supervisor", autoIncrement: false }, projectProgress: { index: 10, type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "项目进展情况", primaryKey: false, field: "project_progress", autoIncrement: false }, done: { index: 11, type: DataTypes.BOOLEAN, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "done", autoIncrement: false }, type: { index: 12, type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: "类型 道路:road / 桥梁:bridge", primaryKey: false, field: "type", autoIncrement: false } }, { tableName: "project", comment: "", indexes: [] }); dc.models.Project = Project; return Project; };