package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import java.io.Serializable;
|
|
/**
|
* 部门(机构)表(NewsDepartment)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-17 11:12:41
|
*/
|
@SuppressWarnings("serial")
|
public class NewsDepartment extends Model<NewsDepartment> {
|
|
private Integer id;
|
//部门名称
|
private String deptname;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getDeptname() {
|
return deptname;
|
}
|
|
public void setDeptname(String deptname) {
|
this.deptname = deptname;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|
|