@@ -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;
+
+ // 决赛名次根据分数生成
}