// 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"

	"gorm.io/gorm"
)

const TableNameRetrofitGroup = "retrofit_group"

// RetrofitGroup mapped from table <retrofit_group>
type RetrofitGroup struct {
	ID        int64          `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Name      string         `gorm:"column:name;type:varchar(255);not null" json:"name"`                                         // 模板名称
	Remark    string         `gorm:"column:remark;type:varchar(512)" json:"remark"`                                              // 备注
	Sort      int64          `gorm:"column:sort;type:bigint(20)" json:"sort"`                                                    // 排序
	Status    int32          `gorm:"column:status;type:tinyint(4);default:1" json:"status"`                                      // 状态
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3)" json:"created_at"`                                       // 创建时间
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3)" json:"updated_at"`                                       // 更新时间
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);index:idx_users_deleted_at,priority:1" json:"deleted_at"` // 删除时间
}

// TableName RetrofitGroup's table name
func (*RetrofitGroup) TableName() string {
	return TableNameRetrofitGroup
}
