cddao.java~10~

来自「我做的第一个java MIS项目」· JAVA~10~ 代码 · 共 74 行

JAVA~10~
74
字号
package server.dao;

public class cddao {
    //cd表的七列的定义:
    private int cdid;
    private int cdexist;
    private String cdname;
    private String cdtype;
    private String cdmtype;
    private String cdactor;
    private String cdnotes;

    //cd表的七列的设置操作
        //设置cdid
        public void setcdid(int cdidtemp)
        {cdid=cdidtemp;}
        //设置cdexitst
        public void setcdexist(int cdexisttemp)
        {cdexist=cdexisttemp;}
        //设置cdname
        public void setcdname(String cdnametemp)
        {cdname=cdnametemp;}
        //设置cdtype
        public void setcdtype(String cdtypetemp)
        {cdtype=cdtypetemp;}
        //设置cdmtype
        public void setcdmtype(String cdmtypetemp)
        {cdmtype=cdmtypetemp;}
        //设置cdactor
        public void setcdactor(String cdactortemp)
        {cdactor=cdactortemp;}
        //设置cdnotes
        public void setcdnotes(String cdnotestemp)
        {cdnotes=cdnotestemp;}

    //cd表的七列的得到操作
        //得到cdid
        public int getcdid()
        {return cdid;}
        //得到cdexist
        public int getcdexist()
        {return cdexist;}
        //得到cdname
        public String getcdname()
        {return cdname;}
        //得到cdtype
        public String getcdtype()
        {return cdtype;}
        //得到cdmtype
        public String getcdmtype()
        {return cdmtype;}
        //得到cdactor
        public String getcdactor()
        {return cdactor;}
        //得到cdnotes
        public String getcdnotes()
        {return cdnotes;}















}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?