import { Model, DataTypes } from 'sequelize';
import { sequelize } from '../../../utils/sequelize.js';

class DirectorProposal extends Model { }

DirectorProposal.init({
    directorCharacterId: {
        type: DataTypes.INTEGER,
        allowNull: false},
    employerUserId: {
        type: DataTypes.INTEGER,
        allowNull: false},
    proposedIncome: {
        type: DataTypes.INTEGER,
        allowNull: false}}, {
    sequelize,
    modelName: 'DirectorProposal',
    tableName: 'director_proposal',
    schema: 'falukant_data',
    timestamps: true,
    underscored: true});

export default DirectorProposal;
