package com.jeesharp.business.modules.setting.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
public class MarketingActivitySaveDTO extends BaseSaveDTO {

    @NotBlank(message = "活动编码不能为空")
    private String activityCode;

    @NotBlank(message = "活动名称不能为空")
    private String activityName;

    @NotBlank(message = "活动类型不能为空")
    private String activityType;

    private String activityScene;
    private String shareTitle;
    private String shareSubtitle;
    private String shareImageUrl;
    private String sharePath;
    private String posterTemplateId;
    private Integer sortNo;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String status;
    private String extJson;
}
