europe_companys.ts 841 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any ) {
    return sequelize.define('europe_companys', {
      id: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        comment: "指数公司ID"
      },
      name_zh: {
        type: DataTypes.STRING(50),
        allowNull: true,
        comment: "中文名称"
      },
      name_en: {
        type: DataTypes.STRING(50),
        allowNull: true,
        comment: "英文名称"
      },
      created_at: {
        type: DataTypes.STRING(20),
        allowNull: true,
        comment: "创建时间"
      },
      updated_at: {
        type: DataTypes.STRING(20),
        allowNull: true,
        comment: "更新时间"
      }
    }, {
      tableName: 'europe_companys',
      timestamps: false
    });
  };