@Id
@Column(name="channel_id",nullable = false)
@TableGenerator(name="channelId",allocationSize=1)
@GeneratedValue(strategy=GenerationType.TABLE,generator="channelId")
public Integer getChannelId() {
return channelId;
}
//注意: 继承BaseDao的dao层注入的范型因为 Integer;