49 lines
1.3 KiB
C#
49 lines
1.3 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.Enum;
|
|
using VOL.Entity.SystemModels;
|
|
|
|
namespace VOL.Entity.DomainModels
|
|
{
|
|
[Table("Ai_Mode")]
|
|
[Entity(TableCnName = "Ai模式表", TableName = "Ai_Mode")]
|
|
public class Ai_Mode : BaseEntity
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Display(Description = "主键Id")]
|
|
[Comment("Id")]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// AI模式名称
|
|
/// </summary>
|
|
[Display(Name = "AI模式名称")]
|
|
[Comment("AI模式名称")]
|
|
[Column(TypeName = "nvarchar(200)")]
|
|
public string ModeName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 模式枚举
|
|
/// </summary>
|
|
[Display(Name = "模式枚举")]
|
|
[Comment("模式枚举")]
|
|
[Column(TypeName = "int")]
|
|
public Ai_ModeEnum ModeEnum { get; set; }
|
|
|
|
/// <summary>
|
|
///备注
|
|
/// </summary>
|
|
[Display(Name = "备注")]
|
|
[Comment("备注")]
|
|
[Column(TypeName = "text")]
|
|
public string Remarks { get; set; }
|
|
}
|
|
}
|