23 lines
622 B
C#
23 lines
622 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LSFE.Infrastructure.Entities.Maintenance
|
|
{
|
|
[Table("Territories")]
|
|
public class Territories
|
|
{
|
|
[Key]
|
|
public int TerritoryId { get; set; }
|
|
public string? TerritoryName { get; set; }
|
|
public int DistrictId { get; set; }
|
|
[ForeignKey("DistrictId")]
|
|
public Districts? Districts { get; set; }
|
|
public bool IsActive { get; set; }
|
|
}
|
|
}
|