Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectTest ¶
type ProjectTest struct { ID uint64 `json:"id,omitempty,string" gorm:"primaryKey;autoIncrement:false"` ProjectID uint64 `json:"projectId,omitempty,string" gorm:"index;comment:项目ID"` Round int `json:"round,omitempty" gorm:"comment:测试轮次"` TestRecord string `json:"testRecord,omitempty" gorm:"comment:测试记录"` Remark string `json:"remark,omitempty" gorm:"size:500;comment:备注"` StartTime int64 `json:"startTime,omitempty" gorm:"comment:开始时间"` EndTime int64 `json:"endTime,omitempty" gorm:"comment:结束时间"` CreatorID uint64 `json:"creatorID,omitempty,string" gorm:"comment:创建人ID"` CloserID uint64 `json:"closerID,omitempty,string" gorm:"comment:封版人ID"` CreateTime int64 `json:"createTime,omitempty" gorm:"autoCreateTime:milli"` DeleteTime gorm.DeletedAt `json:"deleteTime,omitempty" gorm:"index"` }
ProjectTest 项目测试记录
func (*ProjectTest) TableComment ¶
func (*ProjectTest) TableComment() string
func (*ProjectTest) UnmarshalJSON ¶
func (pt *ProjectTest) UnmarshalJSON(b []byte) error
type ProjectTestCase ¶
type ProjectTestCase struct { ID uint64 `json:"id,omitempty,string" gorm:"primaryKey;autoIncrement:false"` ProjectID uint64 `json:"projectId,omitempty,string" gorm:"index;comment:项目ID"` RelatedID uint64 `json:"relatedId,omitempty,string" gorm:"index;comment:关联ID"` RelatedType int `json:"relatedType,omitempty" gorm:"index;comment:关联类型 1-需求 2-任务 3-缺陷问题"` Name string `json:"name,omitempty" gorm:"size:50;comment:测试名称"` Remark string `json:"remark,omitempty" gorm:"size:500;comment:备注"` CreatorID uint64 `json:"creatorID,omitempty,string" gorm:"comment:创建人ID"` CreateTime int64 `json:"createTime,omitempty" gorm:"autoCreateTime:milli"` UpdateTime int64 `json:"updateTime,omitempty" gorm:"autoUpdateTime:milli"` DeleteTime gorm.DeletedAt `json:"deleteTime,omitempty" gorm:"index"` }
func (*ProjectTestCase) TableComment ¶
func (*ProjectTestCase) TableComment() string
func (*ProjectTestCase) UnmarshalJSON ¶
func (pt *ProjectTestCase) UnmarshalJSON(b []byte) error
type ProjectTestCaseItem ¶
type ProjectTestCaseItem struct { ID uint64 `json:"id,omitempty,string" gorm:"primaryKey;autoIncrement:false"` ProjectID uint64 `json:"projectId,omitempty,string" gorm:"index;comment:项目ID"` TestCaseID uint64 `json:"testCaseId,omitempty,string" gorm:"index;comment:测试ID"` Name string `json:"name,omitempty" gorm:"size:50;comment:测试用例名称"` Type int `` /* 157-byte string literal not displayed */ Content string `json:"content,omitempty" gorm:"comment:测试用例内容"` Status int `json:"status,omitempty" gorm:"comment:测试用例状态 1-未测试 2-已通过 -1-未通过"` CreatorID uint64 `json:"creatorId,omitempty,string" gorm:"comment:创建人ID"` CreateTime int64 `json:"createTime,omitempty" gorm:"autoCreateTime:milli"` UpdateTime int64 `json:"updateTime,omitempty" gorm:"autoUpdateTime:milli"` DeleteTime gorm.DeletedAt `json:"deleteTime,omitempty" gorm:"index"` }
func (*ProjectTestCaseItem) TableComment ¶
func (*ProjectTestCaseItem) TableComment() string
func (*ProjectTestCaseItem) UnmarshalJSON ¶
func (ptc *ProjectTestCaseItem) UnmarshalJSON(b []byte) error
type ProjectTestCaseItemStep ¶
type ProjectTestCaseItemStep struct { ID uint64 `json:"id,omitempty,string" gorm:"primaryKey;autoIncrement:false"` ProjectID uint64 `json:"projectId,omitempty,string" gorm:"index;comment:项目ID"` TestCaseID uint64 `json:"testCaseId,omitempty,string" gorm:"index;comment:测试用例ID"` CaseItemID uint64 `json:"caseItemId,omitempty,string" gorm:"index;comment:测试用例项ID"` OrderNum int `json:"orderNum,omitempty" gorm:"comment:排序号"` Content string `json:"content,omitempty" gorm:"size:500;comment:测试步骤内容"` Expect string `json:"expect,omitempty" gorm:"size:500;comment:预期结果"` Status int `json:"status,omitempty" gorm:"comment:测试步骤状态 1-未测试 2-已通过 -1-未通过"` CreatorID uint64 `json:"creatorId,omitempty,string" gorm:"comment:创建人ID"` CreateTime int64 `json:"createTime,omitempty" gorm:"autoCreateTime:milli"` UpdateTime int64 `json:"updateTime,omitempty" gorm:"autoUpdateTime:milli"` DeleteTime gorm.DeletedAt `json:"deleteTime,omitempty" gorm:"index"` }
func (*ProjectTestCaseItemStep) TableComment ¶
func (*ProjectTestCaseItemStep) TableComment() string
func (*ProjectTestCaseItemStep) UnmarshalJSON ¶
func (ptcs *ProjectTestCaseItemStep) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.