lrf 4 月之前
父节点
当前提交
bf0737eeff
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/entity/match/matchRegistration.entity.ts

+ 4 - 0
src/entity/match/matchRegistration.entity.ts

@@ -40,4 +40,8 @@ export class MatchRegistration extends BaseModel {
   final_score: number;
   @Column({ type: 'jsonb', nullable: true, comment: '决赛分数详情' })
   final_score_details: object;
+  @Column({ type: 'timestamp without time zone', nullable: true, comment: '决赛开始时间', transformer: { from: value => (value ? dayjs(value).format('YYYY-MM-DD HH:mm:ss') : value), to: value => value } })
+  final_start_time: Date;
+
+  // 决赛名次根据分数生成
 }