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

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 活动营销投放范围。
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cfg_marketing_activity_scope")
@Schema(description = "活动营销投放范围")
public class MarketingActivityScope extends BaseEntity<MarketingActivityScope> {

    @Schema(description = "活动ID")
    private String activityId;

    @Schema(description = "范围类型")
    private String scopeType;

    @Schema(description = "范围值")
    private String scopeValue;

    @Schema(description = "范围名称")
    private String scopeName;

    @Schema(description = "优先级")
    private Integer priorityNo;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "扩展JSON")
    private String extJson;
}
