MdpSyncTaskParam.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. namespace Admin.NET.Plugin.AiDOP.Entity.DataPlatform;
  2. [SugarTable("mdp_sync_task_param", "MDP同步任务参数配置")]
  3. public class MdpSyncTaskParam
  4. {
  5. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
  6. public long Id { get; set; }
  7. [SugarColumn(ColumnName = "tenant_id")]
  8. public long TenantId { get; set; }
  9. [SugarColumn(ColumnName = "task_code", Length = 100)]
  10. public string TaskCode { get; set; } = string.Empty;
  11. [SugarColumn(ColumnName = "scope_type", Length = 40)]
  12. public string ScopeType { get; set; } = "TASK";
  13. [SugarColumn(ColumnName = "scope_code", Length = 100)]
  14. public string ScopeCode { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "param_key", Length = 100)]
  16. public string ParamKey { get; set; } = string.Empty;
  17. [SugarColumn(ColumnName = "param_name", Length = 200)]
  18. public string ParamName { get; set; } = string.Empty;
  19. [SugarColumn(ColumnName = "param_type", Length = 40)]
  20. public string ParamType { get; set; } = "STRING";
  21. [SugarColumn(ColumnName = "param_value", ColumnDataType = "text", IsNullable = true)]
  22. public string? ParamValue { get; set; }
  23. [SugarColumn(ColumnName = "default_value", ColumnDataType = "text", IsNullable = true)]
  24. public string? DefaultValue { get; set; }
  25. [SugarColumn(ColumnName = "required")]
  26. public byte Required { get; set; }
  27. [SugarColumn(ColumnName = "editable")]
  28. public byte Editable { get; set; } = 1;
  29. [SugarColumn(ColumnName = "sort_order")]
  30. public int SortOrder { get; set; }
  31. [SugarColumn(ColumnName = "description", Length = 1000, IsNullable = true)]
  32. public string? Description { get; set; }
  33. [SugarColumn(ColumnName = "create_time")]
  34. public DateTime CreateTime { get; set; }
  35. [SugarColumn(ColumnName = "update_time")]
  36. public DateTime UpdateTime { get; set; }
  37. }