A
Anonymous

Application Form - Copy this React, Tailwind Component to your project

const Application = sequelize.define( "Application", { id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true, }, user_id: { type: DataTypes.INTEGER, allowNull: false, references: { model: "users", // Table name key: "id", }, }, job_id: { type: DataTypes.INTEGER, allowNull: false, references: { model: "jobs", // Table name key: "id", }, }, status: { type: DataTypes.ENUM(["pending", "approved", "rejected"]), defaultValue: "pending", }, date_applied: { type: DataTypes.STRING, allowNull: false, }, }, { modelName: "application", timestamps: true, } );

Prompt
Component Preview

About

ApplicationForm - Manage job applications with user references, status tracking, and timestamps. Built with React and Tailwind. Copy now for free!

Share

Last updated 1 month ago