default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / FS / FS / pkg_class.pm
index 51d0455..8b66c16 100644 (file)
@@ -49,6 +49,8 @@ Number of associated pkg_category (see L<FS::pkg_category>)
 
 Disabled flag, empty or 'Y'
 
+=item fcc_ds0s - Optional DS0 equivalency number for FCC form 477
+
 =back
 
 =head1 METHODS
@@ -65,6 +67,12 @@ L<"insert">.
 sub table { 'pkg_class'; }
 sub _target_table { 'part_pkg'; }
 
+sub check {
+    my $self = shift;
+    $self->ut_numbern('fcc_ds0s')
+        || $self->SUPER::check;
+}
+
 =item insert
 
 Adds this package class to the database.  If there is an error, returns the