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

namespace Lada.Framework.Data.Domains.Cms
{
    /// <summary>
    /// Lưu cấu hình các script SEO, chat, đo đếm, ...
    /// </summary>
    public class ScriptConfig : BaseEntityWithKey<int>
    {
        [MaxLength(128)]
        public string Name { get; set; }
        [MaxLength(2048)]
        public string ScriptContent { get; set; }
        public bool IsActive { get; set; }
        public ScriptPosition Position { get; set; }

        [MaxLength(512)]
        public string Description { get; set; }

    }
}