using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models
|
{
|
/// <summary>
|
/// 版本信息表
|
/// </summary>
|
[SugarTable(nameof(Dt_Versions), TableDescription = "版本信息表")]
|
public class Dt_Versions : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 语义化版本号(如2.1.0)
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "语义化版本号(如2.1.0)")]
|
public string VersionNumber { get; set; } = null!;
|
|
/// <summary>
|
/// 发布日期
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "发布日期")]
|
public DateTime ReleaseDate { get; set; }
|
|
/// <summary>
|
/// 更新日志
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "更新日志")]
|
public string? ReleaseNotes { get; set; }
|
|
/// <summary>
|
/// 文件存储路径/URL
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "文件存储路径/URL")]
|
public string? DownloadUrl { get; set; } = null!;
|
|
/// <summary>
|
/// 状态(已发布/未发布)
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "状态(已发布/未发布)")]
|
public string Status { get; set; } = null!;
|
|
/// <summary>
|
/// 版本类型(正式版/测试版/内测版等)
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "版本类型(正式版/测试版/内测版等)")]
|
public string VersionType { get; set; } = null!;
|
|
/// <summary>
|
/// 关联的产品ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "关联的产品ID")]
|
public int ProductId { get; set; }
|
}
|
}
|