z8018
2 天以前 d8dc91f9c1fece5711e38edd1b1274cb9e579015
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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; }
    }
}