namespace Admin.NET.Plugin.HwPortal; [SugarTable("hw_web_document")] public class HwWebDocument : HwPortalBaseEntity { [SugarColumn(ColumnName = "document_id", IsPrimaryKey = true)] public string DocumentId { get; set; } [SugarColumn(ColumnName = "tenant_id")] public long? TenantId { get; set; } [SugarColumn(ColumnName = "document_address")] public string DocumentAddress { get; set; } [SugarColumn(ColumnName = "web_code")] public string WebCode { get; set; } [SugarColumn(ColumnName = "secretKey")] public string SecretKey { get; set; } [SugarColumn(ColumnName = "json")] public string Json { get; set; } [SugarColumn(ColumnName = "type")] public string Type { get; set; } [SugarColumn(ColumnName = "is_delete")] public string IsDelete { get; set; } [SugarColumn(IsIgnore = true)] public bool HasSecret => !string.IsNullOrWhiteSpace(SecretKey); }