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();
*/
module.exports = (db, DataTypes) => {
return db.define("forminfo", {
code: {
allowNull: false,
type: DataTypes.STRING
},
name: {
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
},
code: DataTypes.STRING,
name: DataTypes.STRING,
form_items: DataTypes.STRING,
form_describe: DataTypes.STRING,
notes: DataTypes.STRING,
user_id: DataTypes.STRING(100),
user_name: DataTypes.STRING(100), //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