// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsRangeWeight = "ps_range_weight"

// PsRangeWeight mapped from table <ps_range_weight>
type PsRangeWeight struct {
	IDRangeWeight int32   `gorm:"column:id_range_weight;primaryKey;autoIncrement:true" json:"id_range_weight"`
	IDCarrier     int32   `gorm:"column:id_carrier;not null;uniqueIndex:id_carrier,priority:1" json:"id_carrier"`
	Delimiter1    float64 `gorm:"column:delimiter1;not null;uniqueIndex:id_carrier,priority:2" json:"delimiter1"`
	Delimiter2    float64 `gorm:"column:delimiter2;not null;uniqueIndex:id_carrier,priority:3" json:"delimiter2"`
}

// TableName PsRangeWeight's table name
func (*PsRangeWeight) TableName() string {
	return TableNamePsRangeWeight
}

var PsRangeWeightCols = struct {
	IDRangeWeight gormcol.Field
	IDCarrier gormcol.Field
	Delimiter1 gormcol.Field
	Delimiter2 gormcol.Field
}{
	IDRangeWeight: gormcol.Field{}.Set((&PsRangeWeight{}).TableName(), "id_range_weight"),
	IDCarrier: gormcol.Field{}.Set((&PsRangeWeight{}).TableName(), "id_carrier"),
	Delimiter1: gormcol.Field{}.Set((&PsRangeWeight{}).TableName(), "delimiter1"),
	Delimiter2: gormcol.Field{}.Set((&PsRangeWeight{}).TableName(), "delimiter2"),
}
