码迷,mamicode.com
首页 > 其他好文 > 详细

##管家婆项目(domain层)

时间:2019-06-15 15:54:10      阅读:81      评论:0      收藏:0      [点我收藏+]

标签:set   描述   return   one   date   har   this   name   key   

管家婆项目(domain层)

 

package cn.kgc.gjp.domain;

/**
 * @author liurui
 * @date $ {DATE} 16:47
 */
public class ZhangWu {
    /**
     * zwid INT PRIMARY KEY AUTO_INCREMENT,
     flname VARCHAR(200),
     money DOUBLE,
     zhanghu VARCHAR(100),
     #创建日期
     createtime DATE,
     #账务描述
     description VARCHAR(1000)
     */
    private int zwid;
    private String flname;
    private Double money;
    private String zhanghu;
    private String createtime;
    private String description;

    public ZhangWu() {
    }

    public ZhangWu(int zwid, String flname, Double money, String zhanghu, String createtime, String description) {
        this.zwid = zwid;
        this.flname = flname;
        this.money = money;
        this.zhanghu = zhanghu;
        this.createtime = createtime;
        this.description = description;
    }

    public int getZwid() {
        return zwid;
    }

    public void setZwid(int zwid) {
        this.zwid = zwid;
    }

    public String getFlname() {
        return flname;
    }

    public void setFlname(String flname) {
        this.flname = flname;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getZhanghu() {
        return zhanghu;
    }

    public void setZhanghu(String zhanghu) {
        this.zhanghu = zhanghu;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "ZhangWu{" +
                "zwid=" + zwid +
                ", flname=‘" + flname + ‘\‘‘ +
                ", money=" + money +
                ", zhangwu=‘" + zhanghu + ‘\‘‘ +
                ", createtime=‘" + createtime + ‘\‘‘ +
                ", description=‘" + description + ‘\‘‘ +
                ‘}‘;
    }
}

 

##管家婆项目(domain层)

标签:set   描述   return   one   date   har   this   name   key   

原文地址:https://www.cnblogs.com/liurui-bk517/p/11027560.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!