25 lines
801 B
C#
25 lines
801 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Oqtane.Models;
|
|
|
|
namespace SZUAbsolventenverein.Module.PremiumArea.Models
|
|
{
|
|
[Table("SZUAbsolventenvereinEngineerApplications")]
|
|
public class EngineerApplication : ModelBase
|
|
{
|
|
[Key] public int ApplicationId { get; set; }
|
|
public int UserId { get; set; }
|
|
public int ModuleId { get; set; } // Context context
|
|
public int FileId { get; set; }
|
|
[StringLength(256)] public string Title { get; set; }
|
|
public string ShortDescription { get; set; }
|
|
|
|
// Status: "Draft", "Submitted", "Approved", "Rejected"
|
|
[StringLength(50)] public string Status { get; set; }
|
|
|
|
public DateTime? SubmittedOn { get; set; }
|
|
public DateTime? ApprovedOn { get; set; }
|
|
}
|
|
}
|