added advertising
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.krylov.refound.dto.advertising;
|
||||
|
||||
import com.krylov.refound.enums.advertising.AdvertisingType;
|
||||
|
||||
public record AdvertisingCreateRequestDto(
|
||||
Long campaignId,
|
||||
AdvertisingType type,
|
||||
String mediaKey, // обязателен только для IMAGE, для VIDEO — null
|
||||
String targetUrl,
|
||||
int weight
|
||||
) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user