using System.ComponentModel; using NewLife.Configuration; namespace RfidTool { [DisplayName("核心设置")] [Config("Core")] public class RfidSetting:Config { public string Db { get; set; } = "server=127.0.0.1;database=postgres;uid=postgres;pwd=yangwei"; } }