Commit e444454f by 任晓松

tj

parent b1fc27e3
var system = require("../../../system")
var settings = require("../../../../config/settings");
const CtlBase = require("../../ctl.base");
var cacheBaseComp = null;
class FormItemCtl extends CtlBase {
constructor() {
super("configmag", CtlBase.getServiceName(FormItemCtl));
}
}
module.exports = FormItemCtl;
...@@ -6,26 +6,11 @@ const appconfig = system.getSysConfig(); ...@@ -6,26 +6,11 @@ const appconfig = system.getSysConfig();
*/ */
module.exports = (db, DataTypes) => { module.exports = (db, DataTypes) => {
return db.define("forminfo", { return db.define("forminfo", {
code: { code: DataTypes.STRING,
allowNull: false, name: DataTypes.STRING,
type: DataTypes.STRING form_items: DataTypes.STRING,
}, form_describe: DataTypes.STRING,
name: { notes: DataTypes.STRING,
allowNull: false,
type: DataTypes.STRING
},
form_items: {
allowNull: true,
type: DataTypes.STRING
},
form_describe: {
allowNull: true,
type: DataTypes.STRING
},
notes: {
allowNull: true,
type: DataTypes.STRING
},
user_id: DataTypes.STRING(100), user_id: DataTypes.STRING(100),
user_name: DataTypes.STRING(100), //user_name 用户名称 user_name: DataTypes.STRING(100), //user_name 用户名称
company_id: DataTypes.INTEGER(11) //user_name 用户名称 company_id: DataTypes.INTEGER(11) //user_name 用户名称
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment