fusenapi/model/gmodel/fs_quotation_remark_template_gen.go

22 lines
736 B
Go
Raw Permalink Normal View History

2023-06-19 01:53:35 +00:00
package gmodel
2023-06-16 11:04:13 +00:00
import (
"gorm.io/gorm"
)
// fs_quotation_remark_template 报价单备注模板
type FsQuotationRemarkTemplate struct {
2023-06-19 10:27:31 +00:00
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // ID
Content *string `gorm:"default:'';" json:"content"` //
Status *int64 `gorm:"default:1;" json:"status"` // 状态 1启用0停用
Ctime *int64 `gorm:"default:0;" json:"ctime"` // 添加时间
2023-06-16 11:04:13 +00:00
}
type FsQuotationRemarkTemplateModel struct {
db *gorm.DB
name string
}
2023-06-16 11:04:13 +00:00
func NewFsQuotationRemarkTemplateModel(db *gorm.DB) *FsQuotationRemarkTemplateModel {
return &FsQuotationRemarkTemplateModel{db: db, name: "fs_quotation_remark_template"}
2023-06-16 11:04:13 +00:00
}