21 lines
1.0 KiB
Go
21 lines
1.0 KiB
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
|
|
|
|
const TableNamePsWebservicePermission = "ps_webservice_permission"
|
|
|
|
// PsWebservicePermission mapped from table <ps_webservice_permission>
|
|
type PsWebservicePermission struct {
|
|
IDWebservicePermission int32 `gorm:"column:id_webservice_permission;primaryKey;autoIncrement:true" json:"id_webservice_permission"`
|
|
Resource string `gorm:"column:resource;not null;uniqueIndex:resource_2,priority:1;index:resource,priority:1" json:"resource"`
|
|
Method string `gorm:"column:method;not null;uniqueIndex:resource_2,priority:2;index:method,priority:1" json:"method"`
|
|
IDWebserviceAccount int32 `gorm:"column:id_webservice_account;not null;uniqueIndex:resource_2,priority:3;index:id_webservice_account,priority:1" json:"id_webservice_account"`
|
|
}
|
|
|
|
// TableName PsWebservicePermission's table name
|
|
func (*PsWebservicePermission) TableName() string {
|
|
return TableNamePsWebservicePermission
|
|
}
|