All files / src/entities product_form.ts

100% Statements 22/22
100% Branches 0/0
100% Functions 1/1
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 521x       1x 1x 1x 1x   1x     1x     1x     1x     1x     1x     1x     1x     1x     1x     1x     1x     1x     1x   1x  
import { Entity } from '../entity.js';
import { ProductFormVersion } from './product_form_version.js';
import { User } from './user.js';
 
export class ProductForm extends Entity {
  protected static resourceName = 'product_forms';
  protected static singularName = 'productForm';
  protected static pluralName = 'productForms';
 
  @ProductForm.property({type: Date})
  public archived?: Date | null;
 
  @ProductForm.property({type: Date})
  public created?: Date;
 
  @ProductForm.property({type: Date})
  public updated?: Date;
 
  @ProductForm.property({type: Number})
  public id?: number;
 
  @ProductForm.property({type: String})
  public name?: string;
 
  @ProductForm.property({type: String})
  public description?: string;
 
  @ProductForm.property()
  public tags?: string[];
 
  @ProductForm.property({type: String})
  public source?: string;
 
  @ProductForm.property({type: String})
  public sdkVersion?: string;
 
  @ProductForm.property({type: String})
  public status?: string;
 
  @ProductForm.property({type: 'ProductFormVersion'})
  public activeVersion?: ProductFormVersion | null;
 
  @ProductForm.property({arrayType: 'ProductFormVersion'})
  public versions?: ProductFormVersion[];
 
  @ProductForm.property({type: 'User'})
  public createdBy?: User | null;
 
  @ProductForm.property({type: 'User'})
  public updatedBy?: User | null;
}