// 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 TableNameAdminRole = "admin_role"

// AdminRole mapped from table <admin_role>
type AdminRole struct {
	ID        int64     `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	Name      string    `gorm:"column:name;not null" json:"name"`
	Key       string    `gorm:"column:key;not null" json:"key"`
	Systems   string    `gorm:"column:systems" json:"systems"`
	Remark    string    `gorm:"column:remark" json:"remark"`
	Sort      int32     `gorm:"column:sort;not null" json:"sort"`
	Status    int32     `gorm:"column:status;not null;default:1" json:"status"`
	CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
	UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}

// TableName AdminRole's table name
func (*AdminRole) TableName() string {
	return TableNameAdminRole
}
