49 lines
1.4 KiB
C#
49 lines
1.4 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_TrainingModule")]
|
|||
|
[Entity(TableCnName = "Ai训练模块表", TableName = "Ai_TrainingModule")]
|
|||
|
public class Ai_TrainingModule : BaseEntity
|
|||
|
{
|
|||
|
[Key]
|
|||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|||
|
[Display(Description = "主键Id")]
|
|||
|
[Comment("Id")]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 模块名称
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "模块名称")]
|
|||
|
[Comment("模块名称")]
|
|||
|
[Column(TypeName = "nvarchar(200)")]
|
|||
|
public string ModuleName { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 训练模块枚举
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "训练模块枚举")]
|
|||
|
[Comment("训练模块枚举")]
|
|||
|
[Column(TypeName = "int")]
|
|||
|
public Ai_TrainingModuleEnum TrainingModuleEnum { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///备注
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "备注")]
|
|||
|
[Comment("备注")]
|
|||
|
[Column(TypeName = "text")]
|
|||
|
public string Remarks { get; set; }
|
|||
|
}
|
|||
|
}
|