Files
sendico/frontend/pshared/lib/data/dto/permissions/action_effect.dart
2025-11-13 15:06:15 +03:00

20 lines
461 B
Dart

// data/action_effect_dto.dart
import 'package:json_annotation/json_annotation.dart';
part 'action_effect.g.dart';
@JsonSerializable()
class ActionEffectDTO {
final String action;
final String effect;
const ActionEffectDTO({
required this.action,
required this.effect,
});
factory ActionEffectDTO.fromJson(Map<String, dynamic> json) => _$ActionEffectDTOFromJson(json);
Map<String, dynamic> toJson() => _$ActionEffectDTOToJson(this);
}