Tag: logics
-
Post Views: 17 1. The model class file in the /common/models directory is only allowed to be generated by the GII tool, which is a common model data layer, as shown in Figure 1 2. The model file in the /common/logics directory is related to business logic, which is inherited to /common/models The data layer is the common model logic…
-
Post Views: 15 1. Define: Data Layer: Models are used to define data-related automatic verification and auto-completion and data access interfaces. Logic Layer: Logics is used to define data-related business logic. 2. Create a new logics directory in the common directory, which is used for the logical layer of the mysql model, as shown in Figure 1 3. Create a…