初始提交
This commit is contained in:
26
bin/model/RoomTest.dart
Normal file
26
bin/model/RoomTest.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'RoomTest.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class RoomTest {
|
||||
String? room_id; // 房间id
|
||||
String? room_name; // 房间名称
|
||||
String? room_desc; // 房间描述
|
||||
double? bed_num; // 总床位数
|
||||
double? bed_num_use; // 剩余可用床位数
|
||||
String? room_type; // 房间类型
|
||||
List<String>? imgs; // 图片地址列表
|
||||
String? oid; // 机构ID
|
||||
int? deleted; //是否删除
|
||||
int? created_at; // 创建时间(毫秒)
|
||||
int? updated_at; // 更新时间(毫秒)
|
||||
String? created_by_id; // 创建人ID
|
||||
String? created_by_name; // 创建人名称
|
||||
String? updated_by_id; // 更新人ID
|
||||
String? updated_by_name; // 更新人名称
|
||||
|
||||
RoomTest();
|
||||
static RoomTest fromJson(Map<String, dynamic> json) => _$RoomTestFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$RoomTestToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user