JXMovies/CMS/JXCMS.CMS.Movie/Entity/ClassifyEntity.cs
2020-02-16 22:11:24 +08:00

25 lines
601 B
C#

using System.Collections.Generic;
using FreeSql;
using FreeSql.DataAnnotations;
using Renci.SshNet.Messages.Transport;
namespace JXCMS.CMS.Movie.Entity
{
public class ClassifyEntity : BaseEntity<ClassifyEntity, int>
{
public string Name { get; set; }
public string Alias { get; set; }
public int ParentId { get; set; }
[Navigate("ParentId")]
public ClassifyEntity Parent { get; set; }
public ICollection<ClassifyEntity> Childs { get; set; }
[Column(IsIgnore = true)]
public long Count { get; set; }
}
}