aboutsummaryrefslogtreecommitdiff
blob: e421c573f8cc9f46ca9a7069f19690a234b17278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0-only
// Contains the model of a package mask entry

package models

import "time"

type Mask struct {
	Versions    string `pg:",pk"`
	Author      string
	AuthorEmail string
	Date        time.Time
	Reason      string
}

type MaskToVersion struct {
	Id           string `pg:",pk"`
	MaskVersions string
	VersionId    string
}