import { EntityModel } from '@midwayjs/orm';
import { Column,Index } from 'typeorm';
import { BaseEntity } from 'midwayjs-cool-core';

/**
 * 任务表
 */
@EntityModel('shuyou_computer_usage')
export class ShuyouComputerUsageEntity extends BaseEntity {

  @Index()
  @Column({ comment: '任务id' })
  task_id: string;

  @Index()
  @Column({ comment: '电脑编号', length: 100 })
  pc_num: string;

  @Column({ comment: '备注', nullable: true })
  remark: string;

}
