typeorm#DeleteDateColumn TypeScript Examples

The following examples show how to use typeorm#DeleteDateColumn. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: abstract.entity.ts    From life-helper-backend with MIT License 6 votes vote down vote up
/**
   * 删除时间(软删标记)
   *
   *
   * ### 说明
   *
   * ```markdown
   * 1. 当前列由框架自动维护,禁止在代码中手动更新。
   * ```
   */
  @DeleteDateColumn({
    name: 'delete_time',
    select: false,
    update: false,
    insert: false,
    comment: '删除时间(软删标记)',
  })
  deleteTime: Date
Example #2
Source File: card.entity.ts    From 42_checkIn with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  private deletedAt: Date;
Example #3
Source File: log.entity.ts    From 42_checkIn with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  private deletedAt: Date;
Example #4
Source File: user.entity.ts    From 42_checkIn with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  private deletedAt: Date;
Example #5
Source File: ChatCategory.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #6
Source File: ChatMessage.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #7
Source File: ChatRoom.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #8
Source File: Comment.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #9
Source File: CommentEmotion.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #10
Source File: CommentStat.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #11
Source File: User.entity.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
@DeleteDateColumn()
  deletedDate: Date;
Example #12
Source File: cat.entity.ts    From nestjs-paginate with MIT License 5 votes vote down vote up
@DeleteDateColumn({ nullable: true })
    deletedAt?: string
Example #13
Source File: contact-address.entity.ts    From nestjs-starter with MIT License 5 votes vote down vote up
@ApiProperty()
  @DeleteDateColumn({ name: 'deleted_at' })
  public deletedAt: Date;
Example #14
Source File: contact-info.entity.ts    From nestjs-starter with MIT License 5 votes vote down vote up
@ApiProperty()
  @DeleteDateColumn({ name: 'deleted_at' })
  public deletedAt: Date;
Example #15
Source File: user-metadata.entity.ts    From nestjs-starter with MIT License 5 votes vote down vote up
@ApiProperty()
  @DeleteDateColumn({ name: 'deleted_at' })
  public deletedAt: Date;
Example #16
Source File: user.entity.ts    From nestjs-starter with MIT License 5 votes vote down vote up
@ApiProperty()
  @DeleteDateColumn({ name: 'deleted_at' })
  public deletedAt: Date;