package com.yuchen.saas.parking.charge.api.entity.charge;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * <p>
 * 公告主表
 * </p>
 *
 * @author
 * @since 2023-08-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("spc_notice_middle")
@ApiModel(value="SpcNoticeMiddle对象", description="公告关联中间表")
public class SpcNoticeMiddle extends BaseEntity {

    /**
     * 类型对象id（全部的话为0，根据通知类型存储不同类型的id）
     */
    @ApiModelProperty(name = "noticeObjectId", value = "公告对象id（根据通知类型存储不同类型的id）")
    private Long noticeObjectId;

    @ApiModelProperty(name = "noticeObjectName", value = "公告对象名称（根据通知类型存储不同类型的id）")
    private String noticeObjectName;
    /**
     * 通知类型（1：户外站点，2：园区，3：停车场，4：充电站，5：组织部门）
     */
    @ApiModelProperty(name = "noticeType", value = "通知类型（1：户外站点，2：园区，3：停车场，4：充电站，5：组织部门）")
    private Integer noticeType;
    /**
     * 通知id
     */
    @ApiModelProperty(name = "noticeId", value = "通知id")
    private Long noticeId;

    @ApiModelProperty(name = "enterpriseId", value = "运营商id")
    private Long enterpriseId;

}
