Initial commit — Hamkadr (همکادر) healthcare-staffing marketplace
ASP.NET Core 10 Razor Pages + PostgreSQL/EF Core. RTL Persian, Jalali dates, self-hosted Vazirmatn, teal/coral brand. Features: - Shift listings: browse/filter (city, district, role, type, pay), weekly Jalali calendar, detail + interest handoff, near-me distance sort - Hiring (استخدام) listings with employment type + salary range - Pattern-engine recommendations + anonymous interest tracking (visitor cookie) - Heuristic Persian listing-parser + admin queue (raw channel post → shift/job) - Phone-OTP cookie auth + visitor-history linking + profile Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
namespace JobsMedical.Web.Models;
|
||||
|
||||
public enum UserRole
|
||||
{
|
||||
Doctor = 0,
|
||||
FacilityAdmin = 1,
|
||||
Admin = 2
|
||||
}
|
||||
|
||||
public enum FacilityType
|
||||
{
|
||||
Hospital = 0, // بیمارستان
|
||||
Clinic = 1, // کلینیک
|
||||
Polyclinic = 2 // درمانگاه
|
||||
}
|
||||
|
||||
public enum ShiftType
|
||||
{
|
||||
Day = 0, // روز
|
||||
Evening = 1, // عصر
|
||||
Night = 2, // شب
|
||||
OnCall = 3 // آنکال
|
||||
}
|
||||
|
||||
public enum ShiftStatus
|
||||
{
|
||||
Open = 0, // باز
|
||||
Filled = 1, // پر شده
|
||||
Expired = 2, // منقضی
|
||||
Cancelled = 3 // لغو شده
|
||||
}
|
||||
|
||||
public enum ShiftSource
|
||||
{
|
||||
Direct = 0, // ثبت مستقیم مرکز درمانی
|
||||
Admin = 1, // ثبت توسط ادمین
|
||||
Aggregated = 2 // جمعآوری شده از کانالها
|
||||
}
|
||||
|
||||
public enum PayType
|
||||
{
|
||||
PerShift = 0, // مقطوع برای هر شیفت
|
||||
PerHour = 1, // ساعتی
|
||||
Negotiable = 2 // توافقی
|
||||
}
|
||||
|
||||
public enum ApplicationStatus
|
||||
{
|
||||
Interested = 0, // اعلام تمایل
|
||||
Accepted = 1, // پذیرفته شده
|
||||
Rejected = 2, // رد شده
|
||||
Withdrawn = 3 // انصراف
|
||||
}
|
||||
|
||||
public enum RawListingStatus
|
||||
{
|
||||
New = 0, // جدید
|
||||
Normalized = 1, // تبدیل شده به شیفت
|
||||
Discarded = 2 // کنار گذاشته شده
|
||||
}
|
||||
|
||||
public enum EmploymentType
|
||||
{
|
||||
FullTime = 0, // تماموقت
|
||||
PartTime = 1, // پارهوقت
|
||||
Contract = 2, // قراردادی
|
||||
Plan = 3 // طرح
|
||||
}
|
||||
|
||||
/// <summary>What an aggregated/raw listing turned out to be — a shift or a hiring opening.</summary>
|
||||
public enum ListingKind
|
||||
{
|
||||
Shift = 0,
|
||||
Job = 1
|
||||
}
|
||||
Reference in New Issue
Block a user