feat: 支持控制出库时间轴显示
This commit is contained in:
@@ -34,6 +34,11 @@ export class MediaItemDto {
|
||||
}
|
||||
|
||||
export class CreateArtworkDto {
|
||||
@ApiPropertyOptional({ description: '是否在客户端时间轴显示本件出库记录', default: false })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
showOutboundTimeline?: boolean;
|
||||
|
||||
@ApiProperty({ description: '模板 ID' })
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
@@ -158,6 +163,11 @@ export class CreateArtworkCertificateDto {
|
||||
}
|
||||
|
||||
export class UpdateArtworkDto {
|
||||
@ApiPropertyOptional({ description: '是否在客户端时间轴显示本件出库记录' })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
showOutboundTimeline?: boolean;
|
||||
|
||||
@ApiPropertyOptional({ description: '作品名称' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user