Files
hamkadr/src/JobsMedical.Web/Models/City.cs
T
soroush.asadi 2fb86a435e 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>
2026-06-03 01:44:24 +03:30

20 lines
631 B
C#

using System.ComponentModel.DataAnnotations;
namespace JobsMedical.Web.Models;
/// <summary>Canonical city list used for filtering. Launch focuses on Tehran.</summary>
public class City
{
public int Id { get; set; }
[Required, MaxLength(100)]
public string Name { get; set; } = ""; // نام شهر، مثل «تهران»
[MaxLength(100)]
public string Province { get; set; } = ""; // استان
public bool IsActive { get; set; } = true; // آیا در این شهر سرویس فعال است
public ICollection<Facility> Facilities { get; set; } = new List<Facility>();
}