初始提交
This commit is contained in:
11
bin/enum/BedStatus.dart
Normal file
11
bin/enum/BedStatus.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
enum BedStatus {
|
||||
using(0, "使用中"), //使用中
|
||||
no_using(1, "未使用"); //未使用
|
||||
|
||||
// 枚举的值
|
||||
final int code; // 整数值
|
||||
final String description; // 字符串描述
|
||||
|
||||
// 构造函数
|
||||
const BedStatus(this.code, this.description);
|
||||
}
|
||||
Reference in New Issue
Block a user