Skip to main content

Ice Fishing Entities

Entities for ice fishing equipment, setups, and hole tracking.

IceFishingSetup

Purpose: Ice fishing equipment setup (similar to GearSetup but for ice fishing).

Key Fields:

  • Id (int): Unique identifier
  • UserId: Setup owner
  • Name: Setup name
  • IsDefault: Default setup flag
  • UsageCount: Usage count
  • CreatedAt, UpdatedAt: Timestamps

Relationships:

  • Many-to-one: User
  • One-to-many: IceFishingSetupRod, IceFishingSetupTipUp, FishingSession

Usage Patterns:

// Create ice fishing setup
var setup = new IceFishingSetup
{{
UserId = userId,
Name = "Lake Trout Ice Setup",
IsDefault = true
}};

// Get user's ice fishing setups
var setups = context.IceFishingSetups
.Where(ifs => ifs.UserId == userId)
.Include(ifs => ifs.Rods)
.Include(ifs => ifs.TipUps)
.ToList();

IceFishingSetupRod

Purpose: Rod configuration in ice fishing setup.

Key Fields:

  • Id (int): Unique identifier
  • IceFishingSetupId: Associated setup
  • RodId: Rod
  • ReelId: Optional reel
  • LineId: Optional line
  • LureId: Optional lure
  • Position: Order in setup
  • Notes: Setup notes

Relationships:

  • Many-to-one: IceFishingSetup, Rod, Reel (optional), Line (optional), Lure (optional)

IceFishingSetupTipUp

Purpose: Tip-up configuration in ice fishing setup.

Key Fields:

  • Id (int): Unique identifier
  • IceFishingSetupId: Associated setup
  • TipUpId: Tip-up equipment (BoatEquipment)
  • LineId: Optional line
  • LureId: Optional lure
  • Position: Order in setup
  • Notes: Setup notes

Relationships:

  • Many-to-one: IceFishingSetup, BoatEquipment (tip-up), Line (optional), Lure (optional)

IceHole

Purpose: Drilled ice hole with location and catch tracking.

Key Fields:

  • Id (int): Unique identifier
  • FishingSessionId: Associated session
  • Latitude, Longitude: Hole location
  • DepthFt: Water depth
  • IceThicknessInches: Ice thickness
  • HoleDiameterInches: Hole diameter
  • DrilledAt: When hole was drilled
  • CatchCount: Number of catches from hole

Relationships:

  • Many-to-one: FishingSession