fangyuan
2022-11-17 4f33a6133b54d873dc794bdebcfd783597ea0595
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.ycl.entity;
 
 
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
 
/**
 * 部门(机构)表(NewsDepartment)表实体类
 *
 * @author makejava
 * @since 2022-11-17 11:38:27
 */
@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;
    }
    }