import { DataTypes } from 'sequelize';
export default (sequelize) => sequelize.define('vw_transmittal_overview', {
  transmittal_id: { type: DataTypes.INTEGER, primaryKey: true },
  project_id:     { type: DataTypes.INTEGER },
  trans_no:       { type: DataTypes.STRING(100) },
  subject:        { type: DataTypes.STRING(255) },
  status:         { type: DataTypes.STRING(50) },
  items_count:    { type: DataTypes.INTEGER },
  created_at:     { type: DataTypes.DATE },
}, { timestamps: false, freezeTableName: true });
