using dodohold.core; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Text.Json.Serialization; using TencentCloud.Mrs.V20200910.Models; using YunhuiKit; namespace molilian.core { [Table("api_account")] public class ApiAccountDTO { [Key] public int id { get; set; } public string name { get; set; } = string.Empty; public string description { get; set; } = string.Empty; public string api_key { get; set; } = string.Empty; public string api_secret { get; set; } = string.Empty; [IgnoreUpdate] [JsonConverter(typeof(NullableDateTimeConverter))] public DateTime create_time { get; set; } [JsonConverter(typeof(NullableDateTimeConverter))] public DateTime last_time { get; set; } [JsonConverter(typeof(NumericBooleanConverter))] public bool status { get; set; } [JsonConverter(typeof(NumericBooleanConverter))] public bool enable_report { get; set; } public string report_account_ids { get; set; } = string.Empty; public string report_exclude_account_ids { get; set; } = string.Empty; } }