mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
Merge branch 'master' of github.com:Chill-project/Main
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
Chill\MainBundle\Entity\Agent:
|
||||
type: entity
|
||||
table: agents
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: string
|
||||
length: 80
|
||||
|
17
Resources/config/doctrine/Center.orm.yml
Normal file
17
Resources/config/doctrine/Center.orm.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
Chill\MainBundle\Entity\Center:
|
||||
type: entity
|
||||
table: centers
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: string
|
||||
length: 255
|
||||
oneToMany:
|
||||
groupCenters:
|
||||
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
||||
mappedBy: groupCenters
|
16
Resources/config/doctrine/GroupCenter.orm.yml
Normal file
16
Resources/config/doctrine/GroupCenter.orm.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
Chill\MainBundle\Entity\GroupCenter:
|
||||
type: entity
|
||||
table: group_centers
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
manyToOne:
|
||||
center:
|
||||
targetEntity: Chill\MainBundle\Entity\Center
|
||||
inversedBy: groupCenters
|
||||
manyToMany:
|
||||
permissionGroups:
|
||||
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
|
17
Resources/config/doctrine/PermissionsGroup.orm.yml
Normal file
17
Resources/config/doctrine/PermissionsGroup.orm.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
Chill\MainBundle\Entity\PermissionsGroup:
|
||||
type: entity
|
||||
table: permission_groups
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: string
|
||||
length: 255
|
||||
manyToMany:
|
||||
roleScopes:
|
||||
targetEntity: Chill\MainBundle\Entity\RoleScope
|
||||
|
17
Resources/config/doctrine/RoleScope.orm.yml
Normal file
17
Resources/config/doctrine/RoleScope.orm.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
Chill\MainBundle\Entity\RoleScope:
|
||||
type: entity
|
||||
table: role_scopes
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
role:
|
||||
type: string
|
||||
length: 255
|
||||
manyToOne:
|
||||
scope:
|
||||
targetEntity: Chill\MainBundle\Entity\Scope
|
||||
inversedBy: roleScopes
|
16
Resources/config/doctrine/Scope.orm.yml
Normal file
16
Resources/config/doctrine/Scope.orm.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
Chill\MainBundle\Entity\Scope:
|
||||
type: entity
|
||||
table: scopes
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
oneToMany:
|
||||
roleScopes:
|
||||
targetEntity: Chill\MainBundle\Entity\RoleScope
|
||||
mappedBy: scope
|
31
Resources/config/doctrine/User.orm.yml
Normal file
31
Resources/config/doctrine/User.orm.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
Chill\MainBundle\Entity\User:
|
||||
type: entity
|
||||
table: users
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
username:
|
||||
type: string
|
||||
length: 80
|
||||
password:
|
||||
type: string
|
||||
length: 255
|
||||
salt:
|
||||
type: string
|
||||
length: 255
|
||||
nullable: true
|
||||
enabled:
|
||||
type: boolean
|
||||
default: true
|
||||
locked:
|
||||
type: boolean
|
||||
default: false
|
||||
manyToMany:
|
||||
groupCenters:
|
||||
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
||||
|
||||
|
Reference in New Issue
Block a user