Files
b2b/app/model/prestadb/ps_mail.go

27 lines
870 B
Go

// 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 prestadb
import (
"time"
)
const TableNamePsMail = "ps_mail"
// PsMail mapped from table <ps_mail>
type PsMail struct {
IDMail int32 `gorm:"column:id_mail;primaryKey;autoIncrement:true" json:"id_mail"`
Recipient string `gorm:"column:recipient;not null;index:recipient,priority:1" json:"recipient"`
Template string `gorm:"column:template;not null" json:"template"`
Subject string `gorm:"column:subject;not null" json:"subject"`
IDLang int32 `gorm:"column:id_lang;not null" json:"id_lang"`
DateAdd time.Time `gorm:"column:date_add;not null;default:current_timestamp()" json:"date_add"`
}
// TableName PsMail's table name
func (*PsMail) TableName() string {
return TableNamePsMail
}