/*
 * @Author: YKH
 * @Date: 2022-09-02 09:53:54
 * @LastEditTime: 2022-09-15 22:17:47
 * @Description: file content
 * @FilePath: \cool-admin\cool-admin-midway-master\src\app\modules\shuyou\entity\rent_computer_game_record.ts
 */
import { EntityModel } from '@midwayjs/orm';
import { Column,Index } from 'typeorm';
import { BaseEntity } from 'midwayjs-cool-core';

/**
 * 租机-游戏任务关联表
 */
@EntityModel('shuyou_rent_computer_usage')
export class ShuyouRentComputerUsageEntity extends BaseEntity {

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

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

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

}
