66 lines
1.8 KiB
C#
66 lines
1.8 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_AppVersion")]
|
|
[Entity(TableCnName = "AiApp版本号", TableName = "Ai_AppVersion")]
|
|
public class Ai_AppVersion : BaseEntity
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Display(Description = "主键Id")]
|
|
[Comment("Id")]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
///AppType
|
|
/// </summary>
|
|
[Display(Name = "AppType")]
|
|
[Comment("AppType")]
|
|
[Column(TypeName = "int")]
|
|
public int AppType { get; set; }
|
|
|
|
/// <summary>
|
|
///备注
|
|
/// </summary>
|
|
[Display(Name = "备注")]
|
|
[Comment("备注")]
|
|
[Column(TypeName = "nvarchar(2000)")]
|
|
public string Remarks { get; set; }
|
|
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[Display(Name = "版本号")]
|
|
[Comment("版本号")]
|
|
[Column(TypeName = "nvarchar(200)")]
|
|
public string Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 下载地址
|
|
/// </summary>
|
|
[Display(Name = "下载地址")]
|
|
[Comment("下载地址")]
|
|
[Column(TypeName = "nvarchar(2000)")]
|
|
public string Url { get; set; }
|
|
|
|
/// <summary>
|
|
///创建时间
|
|
/// </summary>
|
|
[Display(Name = "创建时间")]
|
|
[Comment("创建时间")]
|
|
[Column(TypeName = "datetime")]
|
|
[Editable(true)]
|
|
public DateTime CreateDate { get; set; }
|
|
}
|
|
}
|