import { DataTypes } from 'sequelize';
import sequelize from '../database.js';

const DiaryMemberActivity = sequelize.define('DiaryMemberActivity', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true,
  },
  diaryDateActivityId: {
    type: DataTypes.INTEGER,
    allowNull: false,
  },
  participantId: {
    type: DataTypes.INTEGER,
    allowNull: false,
  },
}, {
  tableName: 'diary_member_activities',
  timestamps: true,
  underscored: true,
});

export default DiaryMemberActivity;


