diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-07 14:22:13 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-05-07 14:22:13 +0900 |
| commit | b60f9fbc0089ade0b9dce3902489917ca8a57d42 (patch) | |
| tree | 535037a7c4afd2a4d1d0240a9c2720b3c156848c /src/models/entities | |
| parent | 12.80.3 (diff) | |
| download | sharkey-b60f9fbc0089ade0b9dce3902489917ca8a57d42.tar.gz sharkey-b60f9fbc0089ade0b9dce3902489917ca8a57d42.tar.bz2 sharkey-b60f9fbc0089ade0b9dce3902489917ca8a57d42.zip | |
Improve ad
Diffstat (limited to 'src/models/entities')
| -rw-r--r-- | src/models/entities/ad.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/models/entities/ad.ts b/src/models/entities/ad.ts index 3279de29ea..b2fc04c4f0 100644 --- a/src/models/entities/ad.ts +++ b/src/models/entities/ad.ts @@ -23,11 +23,17 @@ export class Ad { }) public place: string; + // 今は使われていないが将来的に活用される可能性はある @Column('varchar', { length: 32, nullable: false }) public priority: string; + @Column('integer', { + default: 1, nullable: false + }) + public ratio: number; + @Column('varchar', { length: 1024, nullable: false }) |