package com.ycl.entity; import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.NoArgsConstructor; import java.io.Serializable; /** * 资讯警员中间表(NewsInformationPolice)表实体类 * * @author makejava * @since 2022-11-17 15:17:21 */ @SuppressWarnings("serial") @Builder @NoArgsConstructor @AllArgsConstructor public class NewsInformationPolice extends Model { private Integer id; //资讯id private Integer newsInformationId; //警员id private Integer newsPoliceId; //是否签收0未签收1签收2不需要签收 private Integer isSign; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getNewsInformationId() { return newsInformationId; } public void setNewsInformationId(Integer newsInformationId) { this.newsInformationId = newsInformationId; } public Integer getNewsPoliceId() { return newsPoliceId; } public void setNewsPoliceId(Integer newsPoliceId) { this.newsPoliceId = newsPoliceId; } public Integer getIsSign() { return isSign; } public void setIsSign(Integer isSign) { this.isSign = isSign; } /** * 获取主键值 * * @return 主键值 */ @Override protected Serializable pkVal() { return this.id; } }