use utf8;
package CLMApp::Schema::Result::CustomerTemplate;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

=head1 NAME

CLMApp::Schema::Result::CustomerTemplate

=cut

use strict;
use warnings;

use base 'DBIx::Class::Core';

=head1 COMPONENTS LOADED

=over 4

=item * L<DBIx::Class::InflateColumn::DateTime>

=back

=cut

__PACKAGE__->load_components("InflateColumn::DateTime");

=head1 TABLE: C<CustomerTemplate>

=cut

__PACKAGE__->table("CustomerTemplate");

=head1 ACCESSORS

=head2 customertemplateid

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

=head2 templatename

  data_type: 'varchar'
  is_nullable: 1
  size: 256

=head2 matchcriteria

  data_type: 'text'
  is_nullable: 1

=head2 matchvalues

  data_type: 'text'
  is_nullable: 1

=head2 superscedemarket

  data_type: 'integer'
  default_value: 0
  is_nullable: 1

=head2 superscedebackoffice

  data_type: 'integer'
  default_value: 0
  is_nullable: 1

=head2 superscedebp

  data_type: 'integer'
  default_value: 0
  is_nullable: 1

=head2 active

  data_type: 'integer'
  default_value: 1
  is_nullable: 1

=head2 deleted

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

=head2 created

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  default_value: '0000-00-00 00:00:00'
  is_nullable: 0

=head2 createdby

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

=head2 updated

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  default_value: '0000-00-00 00:00:00'
  is_nullable: 0

=head2 updatedby

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

=cut

__PACKAGE__->add_columns(
  "customertemplateid",
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
  "templatename",
  { data_type => "varchar", is_nullable => 1, size => 256 },
  "matchcriteria",
  { data_type => "text", is_nullable => 1 },
  "matchvalues",
  { data_type => "text", is_nullable => 1 },
  "superscedemarket",
  { data_type => "integer", default_value => 0, is_nullable => 1 },
  "superscedebackoffice",
  { data_type => "integer", default_value => 0, is_nullable => 1 },
  "superscedebp",
  { data_type => "integer", default_value => 0, is_nullable => 1 },
  "active",
  { data_type => "integer", default_value => 1, is_nullable => 1 },
  "deleted",
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
  "created",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    default_value => "0000-00-00 00:00:00",
    is_nullable => 0,
  },
  "createdby",
  { data_type => "integer", default_value => 0, is_nullable => 0 },
  "updated",
  {
    data_type => "datetime",
    datetime_undef_if_invalid => 1,
    default_value => "0000-00-00 00:00:00",
    is_nullable => 0,
  },
  "updatedby",
  { data_type => "integer", default_value => 0, is_nullable => 0 },
);

=head1 PRIMARY KEY

=over 4

=item * L</customertemplateid>

=back

=cut

__PACKAGE__->set_primary_key("customertemplateid");


# Created by DBIx::Class::Schema::Loader v0.07052 @ 2024-09-05 09:37:49
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Jwv9gXcSIYNN//qsZlcEcA


# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
