2010-06-09 01:50:08 +08:00
|
|
|
|
using Orchard.ContentManagement;
|
|
|
|
|
using Orchard.ContentManagement.Aspects;
|
|
|
|
|
|
|
|
|
|
namespace Orchard.Core.Routable.Models {
|
2010-07-23 16:01:49 +08:00
|
|
|
|
public class RoutePart : ContentPart<RoutePartRecord>, IRoutableAspect {
|
2010-06-09 01:50:08 +08:00
|
|
|
|
public string Title {
|
|
|
|
|
get { return Record.Title; }
|
|
|
|
|
set { Record.Title = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Slug {
|
|
|
|
|
get { return Record.Slug; }
|
|
|
|
|
set { Record.Slug = value; }
|
|
|
|
|
}
|
2010-07-14 11:15:55 +08:00
|
|
|
|
|
|
|
|
|
public string Path {
|
|
|
|
|
get { return Record.Path; }
|
|
|
|
|
set { Record.Path = value; }
|
|
|
|
|
}
|
2010-06-09 01:50:08 +08:00
|
|
|
|
}
|
|
|
|
|
}
|