package File::Sale;

use strict;
use Carp;
use Date::Calc qw(Days_in_Month);

use lib '/app/tools/common/lib';
use Common::RSDB;
use Common::Consts;
use Common::Assert;

# public constants
use constant STATUS_NOT_PROCESSED => 0;
use constant STATUS_MATCH         => 1;
use constant STATUS_NOMATCH       => 2;
use constant STATUS_MULTIMATCH    => 3;
use constant STATUS_MAPPED        => 4;
use constant STATUS_UNRECOVERABLE => 5;
use constant STATUS_AUTO_MAPPED   => 6;
use constant STATUS_BATCH_MAPPED  => 7;
use constant STATUS_DONT_MATCH    => 8;

use lib '/app/tools/data_classes/lib';
use base 'Item';

# --------------------------------
# Constructor
# --------------------------------
sub new {
    my $class = shift;
    my %args  = @_;

    my $self = $class->SUPER::new(@_);

    $self->_init(%args);

    return $self;
}

sub _init {
    my ( $self, %args ) = @_;
    assert( 0, 'override this' );
}

#
#
# ---------------------------------------------
# End File::Sale
# ---------------------------------------------

1;
