using Lada.Framework.Data.Domains.BaseEntities;
using Lada.Framework.Data.Domains.Hr;
using System.ComponentModel.DataAnnotations;

namespace Lada.Framework.Data.Domains.Cms
{
    public class Tag : BaseEntityWithKey<int>
    {
        [MaxLength(256)]
        public string Name { get; set; }

        /// <summary>
        /// Mô tả cho tag
        /// </summary>
        [MaxLength(512)]
        public string Description { get; set; } = string.Empty;

        public UrlRecord? UrlRecord { get; set; }

        public virtual IEnumerable<PostTag>? PostTags { get; set; }

        public virtual IEnumerable<ProductTag>? ProductTags { get; set; }

        public virtual IEnumerable<JobPostTag>? JobPostTags { get; set; }




    }
}
