Model/Comment.cs
(完整代码) 977Busing System;
using System.ComponentModel.DataAnnotations;
namespace Kscor.Model
{
public class Comment
{
[Key]
public int ID { get; set; }
[Required]
[Display(Name = "所属文章ID")]
public int ArticleID { get; set; }
[Required]
[Display(Name = "用户ID")]
public int UserID { get; set; }
[Required]
[Display(Name = "用户名")]
[StringLength(50)]
public string Username { get; set; }
[Required]
[Display(Name = "IP")]
[StringLength(20)]
public string IP { get; set; }
[Required]
[Display(Name = "内容")]
[StringLength(1000)]
public string Content { get; set; }
[Display(Name = "发布时间")]
public DateTime Addtime { get; set; }
[Required]
[Display(Name = "状态")]
public int State { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
