- using System.ComponentModel.DataAnnotations.Schema;
-
- namespace UnivateProperties_API.Model.Region
- {
- public class Suburb : BaseEntity
- {
- #region Properties
- [ForeignKey("City")]
- public int CityId { get; set; }
- public string Description { get; set; }
- public string PostalCode { get; set; }
-
- public virtual City City { get; set; }
- #endregion
- }
- }
|