import { BaseEntity } from '../../base/entity/base.js';
import { Column, Entity, Index } from 'typeorm';

@Entity('netaclaw_memory_type')
export class NetaClawMemoryTypeEntity extends BaseEntity {
  @Index({ unique: true })
  @Column({ comment: '类型标识', length: 50 })
  key: string;

  @Column({ comment: '显示名称', length: 100 })
  name: string;

  @Column({ comment: '类型说明', length: 500, default: '' })
  description: string;

  @Column({ comment: '图标', length: 50, nullable: true })
  icon: string;

  @Column({ comment: '是否系统内置 1=是 0=否', default: 0 })
  isSystem: number;
}
