PHP Classes

File: app/Resources/metadata/entityDefs/Packaging.json

Recommend this page to a friend!
  Classes of alex nov   KennerPIM   app/Resources/metadata/entityDefs/Packaging.json   Download  
File: app/Resources/metadata/entityDefs/Packaging.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: KennerPIM
Product information management application
Author: By
Last change:
Date: 1 year ago
Size: 2,540 bytes
 

Contents

Class file image Download
{ "fields": { "name": { "type": "varchar", "required": true, "trim": true }, "description": { "type": "text", "rows": 4, "lengthOfCut": 400 }, "price": { "type": "float" }, "isActive": { "type": "bool" }, "createdAt": { "type": "datetime", "readOnly": true }, "modifiedAt": { "type": "datetime", "readOnly": true }, "createdBy": { "type": "link", "readOnly": true, "view": "views/fields/user" }, "modifiedBy": { "type": "link", "readOnly": true, "view": "views/fields/user" }, "ownerUser": { "type": "link", "required": true, "view": "views/fields/owner-user" }, "assignedUser": { "type": "link", "required": true, "view": "views/fields/assigned-user" }, "teams": { "type": "linkMultiple", "view": "views/fields/teams" }, "products": { "type": "linkMultiple", "layoutListDisabled": true, "layoutDetailDisabled": true, "layoutFiltersDisabled": true, "layoutMassUpdateDisabled": true, "exportDisabled": true } }, "links": { "createdBy": { "type": "belongsTo", "entity": "User" }, "modifiedBy": { "type": "belongsTo", "entity": "User" }, "ownerUser": { "type": "belongsTo", "entity": "User" }, "assignedUser": { "type": "belongsTo", "entity": "User" }, "teams": { "type": "hasMany", "entity": "Team", "relationName": "EntityTeam", "layoutRelationshipsDisabled": true }, "products": { "type": "hasMany", "foreign": "packaging", "entity": "Product" } }, "collection": { "sortBy": "createdAt", "asc": false }, "indexes": { "ownerUser": { "columns": ["ownerUserId", "deleted"] }, "assignedUser": { "columns": [ "assignedUserId", "deleted" ] } } }