| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S8;
- [SugarTable("ado_s8_data_source", "S8 数据源")]
- public class AdoS8DataSource
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "tenant_id", ColumnDataType = "bigint")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id", ColumnDataType = "bigint")]
- public long FactoryId { get; set; }
- [SugarColumn(ColumnName = "data_source_code", Length = 64)]
- public string DataSourceCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "type", Length = 64)]
- public string Type { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "endpoint", Length = 1024, IsNullable = true)]
- public string? Endpoint { get; set; }
- [SugarColumn(ColumnName = "auth_type", Length = 64, IsNullable = true)]
- public string? AuthType { get; set; }
- [SugarColumn(ColumnName = "enabled", ColumnDataType = "boolean")]
- public bool Enabled { get; set; }
- [SugarColumn(ColumnName = "last_check_at", IsNullable = true)]
- public DateTime? LastCheckAt { get; set; }
- [SugarColumn(ColumnName = "last_check_status", Length = 128, IsNullable = true)]
- public string? LastCheckStatus { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
- public DateTime? UpdatedAt { get; set; }
- }
|