using System.ComponentModel; namespace LifePayment.Domain.Shared; public enum LifePayRateChannelStatus { /// /// 启用 /// [Description("启用")] Disabled = -10, /// /// 禁用 /// [Description("禁用")] Enabled = 10, } //public enum LifePayRateChannelCodeEnum //{ // /// // /// 中国移动 // /// // [Description("liantong")] // 中国移动 = 10, // /// // /// 中国联通 // /// // [Description("中国联通")] // 中国联通 = 20, // /// // /// 中国电信 // /// // [Description("中国电信")] // 中国电信 = 30, // /// // /// 国家电网 // /// // [Description("国家电网")] // 国家电网 = 40, // /// // /// 南方电网 // /// // [Description("南方电网")] // 南方电网 = 50, //} public static class LifePayRateChannelCode { public const string 中国移动 = "yidong"; public const string 中国联通 = "liantong"; public const string 中国电信 = "dianxin"; public const string 国家电网 = "guowang"; public const string 南方电网 = "nanwang"; public const string 中燃燃气 = "zhong_ran"; public const string 新奥燃气 = "xin_ao"; public const string 北京燃气 = "bei_jing"; }