2025-06-06 16:55:14 +08:00

80 lines
2.2 KiB
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Table("Ai_Special")]
[Entity(TableCnName = "专项表", TableName = "Ai_Special")]
public class Ai_Special : BaseEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
/// 专项名称
/// </summary>
[Display(Name = "专项名称")]
[Comment("专项名称")]
[Column(TypeName = "nvarchar(100)")]
public string SpecialName { get; set; }
/// <summary>
/// 图片地址
/// </summary>
[Display(Name = "图片地址")]
[Comment("图片地址")]
[Column(TypeName = "nvarchar(2000)")]
public string ImageUrl { get; set; }
/// <summary>
/// 创建人
/// </summary>
[Display(Name = "创建人")]
[Comment("创建人")]
[Column(TypeName = "int")]
public int? Creator { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Comment("创建时间")]
[Column(TypeName = "datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
/// <summary>
/// 修改人
/// </summary>
[Display(Name = "修改人")]
[Comment("修改人")]
[Column(TypeName = "int")]
public int? Modifier { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[Display(Name = "修改时间")]
[Comment("修改时间")]
[Column(TypeName = "datetime")]
public DateTime? ModifyDate { get; set; }
/// <summary>
/// 专项水平列表
/// </summary>
[Display(Name = "专项水平列表")]
[Comment("专项水平列表")]
public List<Ai_SpecialLevel> SpecialLevelList { get; set; }
}
}