package jira

import "github.com/tidbcloud/devops/models/base"

type IssueTriageTagDefinition struct {
	base.Base

	Name        string `gorm:"type:VARCHAR(255);uniqueIndex:idx_name_type;not null"`
	Type        string `gorm:"type:VARCHAR(255);uniqueIndex:idx_name_type;not null"`
	Description string `gorm:"type:VARCHAR(4096)"`
	Labels      []byte `gorm:"type:JSON"`
}

func (IssueTriageTagDefinition) TableName() string {
	return "jira_issue_tag_definitions"
}
