import { BaseEntity } from '@cool-midway/core';
import { Column, Index, Entity } from 'typeorm';

/**
 * 视角标签
 */
@Entity('map_angle')
export class BaseSysAngleEntity extends BaseEntity {
  @Index()
  @Column({ comment: '视角标签名称', length: 50 })
  name: string;

  @Column({ comment: '经度' })
  x: string;

  @Column({ comment: '纬度' })
  y: string;

  @Column({ comment: '高度' })
  z: string;

  @Column({ comment: '偏航角' })
  heading: string;

  @Column({ comment: '俯仰角' })
  pitch: string;

  @Column({ comment: '翻转角' })
  roll: string;

  @Column({ comment: '位置截图', type: 'text' })
  screenshot: string;

  @Column({ comment: '创建人', length: 50 })
  userId: string;
}
