LCOV - code coverage report
Current view: top level - domain/entity - user_license.go Coverage Total Hit
Test: coverage.lcov Lines: 0.0 % 3 0
Test Date: 2026-04-14 06:42:22 Functions: - 0 0

            Line data    Source code
       1              : // Package entity は ユーザーの資格・免許 を表すドメインエンティティです
       2              : package entity
       3              : 
       4              : import "time"
       5              : 
       6              : // UserLicense は ユーザーの 資格・免許 を表すドメインエンティティです
       7              : type UserLicense struct {
       8              :         ID        uint64    `json:"id" gorm:"primaryKey;autoIncrement;column:id;not null"`
       9              :         UserID    uint64    `json:"user_id" gorm:"column:user_id;not null"`
      10              :         Name      string    `json:"name" gorm:"column:license_name;not null;size:255"`
      11              :         EventDate time.Time `json:"event_date" gorm:"type:date;not null"`
      12              :         SortOrder int       `json:"sort_order" gorm:"column:sort_order;not null"`
      13              :         CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"`
      14              :         UpdatedAt time.Time `json:"updated_at" gorm:"autoUpdateTime"`
      15              : }
      16              : 
      17              : // TableName は GORMのテーブル名を返します
      18            0 : func (UserLicense) TableName() string {
      19            0 :         return "user_licenses"
      20            0 : }
        

Generated by: LCOV version 2.3.1-1