| import ns org.eclipse.osbp.authentication.account.entities.UserAccount |
| import ns ${{BASIC_PROJECT_NAME}}.model.blips.ProductMaintenance |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Employee |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Position |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Product |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.ProductClass |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Supplier |
| |
| package ${{MODEL_PROJECT_PACKAGE_NAME}} { |
| |
| role Logistics { |
| entity Product any { |
| attribute srp invisible |
| attribute grossWeight invisible |
| attribute netWeight invisible |
| attribute recyclablePackage invisible |
| } |
| entity ProductClass any |
| entity Employee any |
| entity Position any |
| entity UserAccount any { |
| attribute superuser disabled |
| attribute cookieHashCode invisible |
| attribute password invisible |
| attribute failedAttempt disabled |
| attribute successfulAttempt disabled |
| attribute userName noneditable |
| attribute forcePwdChange invisible |
| attribute locked invisible |
| } |
| } |
| |
| role Sales { |
| entity Product any { |
| attribute unitsPerCase disabled |
| attribute casesPerPallet invisible |
| attribute shelfDepth noneditable |
| attribute shelfHeight invisible |
| attribute shelfWidth invisible |
| } |
| entity ProductClass any |
| entity Employee any { |
| attribute firstName invisible |
| } |
| entity Position any |
| entity Supplier any { |
| attribute yearlyTurnover invisible |
| } |
| entity UserAccount any { |
| attribute superuser disabled |
| attribute cookieHashCode invisible |
| attribute password invisible |
| attribute failedAttempt disabled |
| attribute successfulAttempt disabled |
| attribute userName noneditable |
| attribute forcePwdChange invisible |
| attribute locked invisible |
| } |
| process ProductMaintenance { |
| is startable |
| all usertasks executable |
| } |
| // process listing executable |
| // process contact executable |
| } |
| } |