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 { /// /// 产品信息表 /// [SugarTable(nameof(Dt_Products), TableDescription = "产品信息表")] public class Dt_Products : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 产品名称 /// [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "产品名称")] public string ProductName { get; set; } = null!; /// /// 产品描述 /// [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "产品描述")] public string? ProductDescription { get; set; } /// /// 分类(桌面/移动/中间件等) /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "分类(桌面/移动/中间件等)")] public string ProductCategory { get; set; } = null!; /// /// 是否启用 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否启用")] public bool IsEnable { get; set; } } }