JXMovies/CMS/JXCMS.CMS.Movie/Entity/ClassifyEntity.cs

25 lines
601 B
C#
Raw Normal View History

2020-02-16 22:11:24 +08:00
using System.Collections.Generic;
2020-02-12 15:23:34 +08:00
using FreeSql;
2020-02-16 22:11:24 +08:00
using FreeSql.DataAnnotations;
using Renci.SshNet.Messages.Transport;
2020-02-12 15:23:34 +08:00
namespace JXCMS.CMS.Movie.Entity
{
public class ClassifyEntity : BaseEntity<ClassifyEntity, int>
{
public string Name { get; set; }
2020-02-16 22:11:24 +08:00
public string Alias { get; set; }
2020-02-12 15:23:34 +08:00
public int ParentId { get; set; }
2020-02-16 22:11:24 +08:00
[Navigate("ParentId")]
public ClassifyEntity Parent { get; set; }
public ICollection<ClassifyEntity> Childs { get; set; }
[Column(IsIgnore = true)]
public long Count { get; set; }
2020-02-12 15:23:34 +08:00
}
}