Model/Model.cs
(完整代码) 1KBusing System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Kscor.Model
{
public class Model
{
[Key]
public int ID { get; set; }
[Required]
[Display(Name = "模型名")]
[StringLength(20)]
public string Name { get; set; }
[Required]
[Display(Name = "排序号")]
public int Sortid { get; set; }
[Display(Name = "模型类型")]
[StringLength(20)]
public string Type { get; set; }
[Required]
[Display(Name = "是否系统模型")]
public bool IsBase { get; set; }
[Required]
[Display(Name = "是否文章模型")]
public bool IsArticle { get; set; }
[Required]
[Display(Name = "是否可用")]
public int State { get; set; }
[Display(Name = "模型说明")]
[StringLength(100)]
public string Remark { get; set; }
[Required]
[Display(Name = "属性数")]
public int AttributeCount { get; set; }
public virtual IList<Kscor.Model.Attribute> AttributeList { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
