class Item { int? id; // 名称 String name; // 分类 int? categoryId; // 位置 int? locationId; // 描述 String? description; // 购买日期 String? purchaseDate; // 是否使用 int? isInUse; String? createdAt; String? updatedAt; Item({ this.id, required this.name, this.categoryId, this.locationId, this.description, this.purchaseDate, this.isInUse, this.createdAt, this.updatedAt, }); }