首先定义一个枚举:两个值:已确认、未确认。

public enum ConfirmStatusEnum
    {
        [Description("未确认")]
        unconfirmed = 1,
        [Description("已确认")]
        confirmed = 2
    }
View Code

相关文章:

  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-10-07
  • 2021-07-22
  • 2022-02-11
相关资源
相似解决方案