// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

import (
	"time"
)

const TableNamePaymentBills = "payment_bills"

// PaymentBills mapped from table <payment_bills>
type PaymentBills struct {
	ID        int64     `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	BillDate  time.Time `gorm:"column:bill_date;not null" json:"bill_date"`
	Type      string    `gorm:"column:type;not null" json:"type"`
	FileURL   string    `gorm:"column:file_url" json:"file_url"`
	Digest    string    `gorm:"column:digest" json:"digest"`
	Imported  bool      `gorm:"column:imported;not null" json:"imported"`
	CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP" json:"created_at"`
}

// TableName PaymentBills's table name
func (*PaymentBills) TableName() string {
	return TableNamePaymentBills
}
