package com.sptg.ad.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * title: AdPushThresholdValue
 * package: com.sptg.ad.api.entity
 * description: 广告发布阈值
 *
 *                
 *                
 */
@Getter
@Setter
@TableName(value = "ad_push_threshold_value")
public class AdPushThresholdValue {
    /**
     * 主键
     */
    @TableId(value = "l_id",type = IdType.AUTO)
    private Long id;

    /**
     * 设置广告条数阈值
     */
    @TableField(value = "i_count")
    private Integer count;

    /**
     * 广告类型  { 0人脸广告发布，1闲时广告发布 }
     */
    @TableField(value = "i_type")
    private Integer type;

    /**
     * 根机构id
     */
    @TableField(value = "l_root_org_id")
    private Long rootOrgId;

    /**
     * 存储位置
     */
    @TableField(value = "s_org_position")
    private String orgPosition;
}
