Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TestCaseVersion {
- static constraints = {
- createdBy nullable: true
- createdById nullable: true
- lastUpdated nullable: true
- lastUpdatedBy nullable: true
- number nullable: true
- summary maxSize: 65535, nullable: true
- preconditions maxSize: 65535, nullable: true
- testCaseId nullable: true
- priorityId nullable: true
- executionTypeId nullable: true
- }
- static belongsTo = [testCase: TestCase]
- static hasMany = [testCaseVersionCustomValues: TestCaseVersionCustomValue, steps: TestStep]
- static mapping = {
- testCaseId formula: 'test_case_id'
- createdById formula: 'created_by_id'
- version false
- id generator: 'sequence', params: [ sequence_name: 'test_case_versions_sequence' ]
- obsolete defaultValue: 'false'
- immutable defaultValue: 'false'
- }
- String name
- Date dateCreated
- Date lastUpdated
- User createdBy
- Long createdById
- User lastUpdatedBy
- Long testCaseId
- Short number
- String summary
- String preconditions
- Boolean obsolete = false
- Boolean immutable = false
- Byte priorityId
- Byte executionTypeId
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement