Model/Config.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System.ComponentModel.DataAnnotations;

namespace Kscor.Model
{
    public class Config
    {
        [Key]
        public int ID { get; set; }

        [Required]
        [Display(Name = "站点名")]
        [StringLength(50)]
        public string Sitename { get; set; }

        [Display(Name = "站点地址")]
        [StringLength(50)]
        public string Url { get; set; }

        [Required]
        [Display(Name = "Seo站点标题")]
        [StringLength(100)]
        public string SeoTitle { get; set; }

        [Required]
        [Display(Name = "Seo站点关键词")]
        [StringLength(200)]
        public string SeoKeywords { get; set; }

        [Required]
        [Display(Name = "Seo站点描述")]
        [StringLength(1000)]
        public string SeoDescription { get; set; }

        [Required]
        [Display(Name = "备案号")]
        [StringLength(20)]
        public string Icp { get; set; }


        [Display(Name = "统计代码")]
        [StringLength(200)]
        public string StatScript { get; set; }

        [Display(Name = "版权声明")]
        [StringLength(1000)]
        public string Copyright { get; set; }

        [Required]
        [Display(Name = "主题名")]
        [StringLength(100)]
        public string Theme { get; set; }

        [Required]
        [Display(Name = "是否开放留言")]
        public int OpenFeedback { get; set; }

        [Required]
        [Display(Name = "是否需要审核留言")]
        public int CheckFeedback { get; set; }

后面还有 30 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。