所有数据库表,提供相应的provider、桥接等方法
This commit is contained in:
@@ -1,112 +1,31 @@
|
||||
/// 发现小程序 Domain 实体
|
||||
class DiscoverMiniApp {
|
||||
final String id;
|
||||
final String? name;
|
||||
final String? openuid;
|
||||
final String? devId;
|
||||
final String? icon;
|
||||
final String? iconGaussian;
|
||||
final String? downloadUrl;
|
||||
final String? description;
|
||||
final int? version;
|
||||
final int? typ;
|
||||
final int? flag;
|
||||
final int? reviewStatus;
|
||||
final int? favoriteAt;
|
||||
final int? isActive;
|
||||
final int? createdAt;
|
||||
final int? updatedAt;
|
||||
final int? deletedAt;
|
||||
final double? score;
|
||||
final String? channels;
|
||||
final String? devName;
|
||||
final String? pictureGaussian;
|
||||
final String? picture;
|
||||
final int? commentNum;
|
||||
final String? lastLoginAt;
|
||||
final String? screen;
|
||||
import 'package:im_app/domain/entities/mini_app.dart';
|
||||
|
||||
class DiscoverMiniApp extends MiniApp {
|
||||
const DiscoverMiniApp({
|
||||
required this.id,
|
||||
this.name,
|
||||
this.openuid,
|
||||
this.devId,
|
||||
this.icon,
|
||||
this.iconGaussian,
|
||||
this.downloadUrl,
|
||||
this.description,
|
||||
this.version,
|
||||
this.typ,
|
||||
this.flag,
|
||||
this.reviewStatus,
|
||||
this.favoriteAt,
|
||||
this.isActive,
|
||||
this.createdAt,
|
||||
this.updatedAt,
|
||||
this.deletedAt,
|
||||
this.score,
|
||||
this.channels,
|
||||
this.devName,
|
||||
this.pictureGaussian,
|
||||
this.picture,
|
||||
this.commentNum,
|
||||
this.lastLoginAt,
|
||||
this.screen,
|
||||
required super.id,
|
||||
super.name,
|
||||
super.openuid,
|
||||
super.devId,
|
||||
super.icon,
|
||||
super.iconGaussian,
|
||||
super.downloadUrl,
|
||||
super.description,
|
||||
super.version,
|
||||
super.typ,
|
||||
super.flag,
|
||||
super.reviewStatus,
|
||||
super.favoriteAt,
|
||||
super.isActive,
|
||||
super.createdAt,
|
||||
super.updatedAt,
|
||||
super.deletedAt,
|
||||
super.score,
|
||||
super.channels,
|
||||
super.devName,
|
||||
super.pictureGaussian,
|
||||
super.picture,
|
||||
super.commentNum,
|
||||
super.lastLoginAt,
|
||||
super.screen,
|
||||
});
|
||||
|
||||
DiscoverMiniApp copyWith({
|
||||
String? id,
|
||||
String? name,
|
||||
String? openuid,
|
||||
String? devId,
|
||||
String? icon,
|
||||
String? iconGaussian,
|
||||
String? downloadUrl,
|
||||
String? description,
|
||||
int? version,
|
||||
int? typ,
|
||||
int? flag,
|
||||
int? reviewStatus,
|
||||
int? favoriteAt,
|
||||
int? isActive,
|
||||
int? createdAt,
|
||||
int? updatedAt,
|
||||
int? deletedAt,
|
||||
double? score,
|
||||
String? channels,
|
||||
String? devName,
|
||||
String? pictureGaussian,
|
||||
String? picture,
|
||||
int? commentNum,
|
||||
String? lastLoginAt,
|
||||
String? screen,
|
||||
}) {
|
||||
return DiscoverMiniApp(
|
||||
id: id ?? this.id,
|
||||
name: name ?? this.name,
|
||||
openuid: openuid ?? this.openuid,
|
||||
devId: devId ?? this.devId,
|
||||
icon: icon ?? this.icon,
|
||||
iconGaussian: iconGaussian ?? this.iconGaussian,
|
||||
downloadUrl: downloadUrl ?? this.downloadUrl,
|
||||
description: description ?? this.description,
|
||||
version: version ?? this.version,
|
||||
typ: typ ?? this.typ,
|
||||
flag: flag ?? this.flag,
|
||||
reviewStatus: reviewStatus ?? this.reviewStatus,
|
||||
favoriteAt: favoriteAt ?? this.favoriteAt,
|
||||
isActive: isActive ?? this.isActive,
|
||||
createdAt: createdAt ?? this.createdAt,
|
||||
updatedAt: updatedAt ?? this.updatedAt,
|
||||
deletedAt: deletedAt ?? this.deletedAt,
|
||||
score: score ?? this.score,
|
||||
channels: channels ?? this.channels,
|
||||
devName: devName ?? this.devName,
|
||||
pictureGaussian: pictureGaussian ?? this.pictureGaussian,
|
||||
picture: picture ?? this.picture,
|
||||
commentNum: commentNum ?? this.commentNum,
|
||||
lastLoginAt: lastLoginAt ?? this.lastLoginAt,
|
||||
screen: screen ?? this.screen,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user