初始提交
This commit is contained in:
13
bin/enum/MessageStatus.dart
Normal file
13
bin/enum/MessageStatus.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
enum MessageStatus {
|
||||
//消息状态 0:无需处理 1:待处理 2:已处理
|
||||
notify(0, "无需处理"),
|
||||
waring(1, "待处理"),
|
||||
dealed(2, "已处理");
|
||||
|
||||
// 枚举的值
|
||||
final int code; // 整数值
|
||||
final String description; // 字符串描述
|
||||
|
||||
// 构造函数
|
||||
const MessageStatus(this.code, this.description);
|
||||
}
|
||||
Reference in New Issue
Block a user