MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / ProblemParagraphMapping

Class ProblemParagraphMapping

apps/knowledge/models/knowledge.py:284–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283
284class ProblemParagraphMapping(AppModelMixin):
285 id = models.UUIDField(primary_key=True, max_length=128, default=uuid.uuid7, editable=False, verbose_name="主键id")
286 knowledge = models.ForeignKey(Knowledge, on_delete=models.DO_NOTHING, db_constraint=False)
287 document = models.ForeignKey(Document, on_delete=models.DO_NOTHING, db_constraint=False)
288 problem = models.ForeignKey(Problem, on_delete=models.DO_NOTHING, db_constraint=False)
289 paragraph = models.ForeignKey(Paragraph, on_delete=models.DO_NOTHING, db_constraint=False)
290
291 class Meta:
292 db_table = "problem_paragraph_mapping"
293
294
295class Termbase(AppModelMixin):

Callers 7

to_problem_model_listMethod · 0.90
saveMethod · 0.90
get_problem_listMethod · 0.90
associationMethod · 0.90
post_improveMethod · 0.90
improveMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected