/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const Project = sequelize.define("project", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "project_id_uindex" }, entryName: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "项目名称", primaryKey: false, field: "entry_name", autoIncrement: false }, projectMileage: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "工程里程", primaryKey: false, field: "project_mileage", autoIncrement: false }, investment: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "投资", primaryKey: false, field: "investment", autoIncrement: false }, buildUnit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "建设单位", primaryKey: false, field: "build_unit", autoIncrement: false }, constructionControlUnit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "监理单位", primaryKey: false, field: "construction_control_unit", autoIncrement: false }, designUnit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "设计单位", primaryKey: false, field: "design_unit", autoIncrement: false }, constructionUnit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "施工单位", primaryKey: false, field: "construction_unit", autoIncrement: false }, supervisorAndSupervisor: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "监督负责人及监督人员", primaryKey: false, field: "supervisor_and_supervisor", autoIncrement: false }, projectProgress: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "项目进展情况", primaryKey: false, field: "project_progress", autoIncrement: false }, done: { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "done", autoIncrement: false }, type: { 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; };