Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

滞在確率算出機能の追加 #46

Closed
wants to merge 14 commits into from
Closed

滞在確率算出機能の追加 #46

wants to merge 14 commits into from

Conversation

Bayashin
Copy link
Member

@Bayashin Bayashin commented Apr 15, 2024

  1. 特定のユーザが特定の時間以降(または'までに')学校に来る(または'帰る')確率を算出
  2. 全てのユーザがその日に学校に来る確率を算出

@Bayashin Bayashin requested a review from togawa427 April 15, 2024 08:04
@Bayashin Bayashin changed the title add:特定人物の滞在確率を取得するAPi 滞在確率算出機能の追加 Apr 15, 2024
Bayashin

This comment was marked as spam.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • gorm.Model使おう
    gorm.ModelつけるとIDと作成時刻,更新時刻,削除時刻が勝手についてくれる.
    gorm.Modelつけると削除する時こちらが特別何かしなくても論理削除になるけど,この書き方だと物理削除になる.
    gorm.Model使うやつと使わないやつが混合すると論理削除と物理削除が意図せずごっちゃになる可能性高いからgorm.Modelつける方に統一してほしい

@kajiLabTeam kajiLabTeam deleted a comment from togawa427 Apr 22, 2024
@Bayashin Bayashin closed this Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants