package FS::table_name;
+use base qw( FS::Record );
use strict;
-use vars qw( @ISA );
use FS::Record qw( qsearch qsearchs );
-@ISA = qw(FS::Record);
-
=head1 NAME
FS::table_name - Object methods for table_name records
sub check {
my $self = shift;
- ''; #no error
+ my $error =
+ $self->ut_numbern('primary_key')
+ || $self->ut_number('validate_other_fields')
+ ;
+ return $error if $error;
+
+ $self->SUPER::check;
}
=back
-=head1 VERSION
-
-$Id: table_template.pm,v 1.2 2000-10-27 20:15:50 ivan Exp $
-
=head1 BUGS
The author forgot to customize this manpage.
=head1 SEE ALSO
-L<FS::Record>, schema.html from the base documentation.
+L<FS::Record>
=cut