namespace Admin.NET.Plugin.AiDOP.Entity.DataPlatform; [SugarTable("mdp_sync_task_param", "MDP同步任务参数配置")] public class MdpSyncTaskParam { [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public long Id { get; set; } [SugarColumn(ColumnName = "tenant_id")] public long TenantId { get; set; } [SugarColumn(ColumnName = "task_code", Length = 100)] public string TaskCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "scope_type", Length = 40)] public string ScopeType { get; set; } = "TASK"; [SugarColumn(ColumnName = "scope_code", Length = 100)] public string ScopeCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "param_key", Length = 100)] public string ParamKey { get; set; } = string.Empty; [SugarColumn(ColumnName = "param_name", Length = 200)] public string ParamName { get; set; } = string.Empty; [SugarColumn(ColumnName = "param_type", Length = 40)] public string ParamType { get; set; } = "STRING"; [SugarColumn(ColumnName = "param_value", ColumnDataType = "text", IsNullable = true)] public string? ParamValue { get; set; } [SugarColumn(ColumnName = "default_value", ColumnDataType = "text", IsNullable = true)] public string? DefaultValue { get; set; } [SugarColumn(ColumnName = "required")] public byte Required { get; set; } [SugarColumn(ColumnName = "editable")] public byte Editable { get; set; } = 1; [SugarColumn(ColumnName = "sort_order")] public int SortOrder { get; set; } [SugarColumn(ColumnName = "description", Length = 1000, IsNullable = true)] public string? Description { get; set; } [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } [SugarColumn(ColumnName = "update_time")] public DateTime UpdateTime { get; set; } }