using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace AI.Common.Entities { /// /// /// [SugarTable("prompts")] public class Prompts { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="id" ,IsPrimaryKey = true,IsIdentity = true) ] public long Id { get; set; } /// /// 备 注:角色名称 /// 默认值: /// [SugarColumn(ColumnName="name" ) ] public string Name { get; set; } = null!; /// /// 备 注:提示词 /// 默认值: /// [SugarColumn(ColumnName="prompt" ) ] public string Prompt { get; set; } = null!; /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="create_time", IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true) ] public DateTime CreateTime { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="is_delete" ) ] public bool IsDelete { get; set; } } }