Giter Site home page Giter Site logo

Model: Create model package about eatsafe HOT 4 CLOSED

garmu avatar garmu commented on July 16, 2024
Model: Create model package

from eatsafe.

Comments (4)

KatrinaHoffert avatar KatrinaHoffert commented on July 16, 2024

Note that these should be located in a (new) app/models folder, as is "expected" in Play applications. Then the package would be models (note that packages must be specified in the file, as Scala does not require that you use specific folder structures for packages).

So the existing Violation object in app/assets needs to be moved. That folder is meant for resources that are publicly accessible, but need to be processed. As a result, the existing file is currently accessible via /assets/Violation.scala (and that's obviously undesirable).

from eatsafe.

KatrinaHoffert avatar KatrinaHoffert commented on July 16, 2024

I've copied over Duan's start of the model (see 186a577). The duplicate Violation class has been removed and I updated the test appropriately. This was done so that we could have stub methods for everything (necessary so that others can start things that depend on these case classes).

The methods still have to be done.

from eatsafe.

KatrinaHoffert avatar KatrinaHoffert commented on July 16, 2024

I'll be taking over this so that Duan can focus on the CSV parser/SQL data generator.

from eatsafe.

KatrinaHoffert avatar KatrinaHoffert commented on July 16, 2024

Should be done now. Needs testing.

from eatsafe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.