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:
soroush.asadi
2026-06-03 01:43:55 +03:30
commit 2fb86a435e
150 changed files with 90993 additions and 0 deletions
@@ -0,0 +1,31 @@
using System.ComponentModel.DataAnnotations;
namespace JobsMedical.Web.Models;
/// <summary>Profile for a doctor. Trust signal is the نظام پزشکی (medical council) number.</summary>
public class DoctorProfile
{
public int Id { get; set; }
public int UserId { get; set; }
public User User { get; set; } = null!;
public int? RoleId { get; set; } // نقش این فرد (پزشک/پرستار/ماما/...)
public Role? Role { get; set; }
[MaxLength(20)]
public string? LicenseNo { get; set; } // شماره نظام پزشکی/پرستاری
[MaxLength(100)]
public string Specialty { get; set; } = "پزشک عمومی"; // جزئیات تخصص (اختیاری)
public int? CityId { get; set; }
public City? City { get; set; }
public int YearsExperience { get; set; }
[MaxLength(1000)]
public string? Bio { get; set; }
public bool IsVerified { get; set; } // تأیید نظام پزشکی توسط ادمین
}