using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
///
/// Describes a UrlMapping in Oqtane.
///
public class UrlMapping
{
///
/// ID of this UrlMapping.
///
public int UrlMappingId { get; set; }
///
/// Reference to a
///
public int SiteId { get; set; }
///
/// A fully quaified Url
///
public string Url { get; set; }
///
/// A Url the visitor will be redirected to
///
public string MappedUrl { get; set; }
///
/// Number of requests all time for the url
///
public int Requests { get; set; }
///
/// Date when the url was first requested for the site
///
public DateTime CreatedOn { get; set; }
///
/// Date when the url was last requested for the site
///
public DateTime RequestedOn { get; set; }
}
}