aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/TestModel/Foo/Action/SearchSpec/Update.pm
blob: 97d2febece8e5a19272401219cceeeb6394dce99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package ComponentUI::TestModel::Foo::Action::SearchSpec::Update;
use Reaction::Class;
use namespace::autoclean;

use MooseX::Types::Common::String qw/NonEmptySimpleStr/;

extends 'Reaction::InterfaceModel::Action';
with 'Reaction::InterfaceModel::Search::UpdateSpec';

has 'first_name' => (isa => NonEmptySimpleStr, is => 'rw', required => 0);
has 'last_name' => (isa => NonEmptySimpleStr, is => 'rw', required => 0);

sub _reflection_info {{ normal => [qw/first_name last_name/] }}

1;