博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jdbc创建后创建bean
阅读量:6785 次
发布时间:2019-06-26

本文共 2180 字,大约阅读时间需要 7 分钟。

package com.sxt.bean;

import java.sql.Timestamp;

/**

* Goods entity. @author MyEclipse Persistence Tools
*/

public class Goods implements java.io.Serializable {

// Fieldsprivate Integer gid;private String gname;private Double gprice;private Integer gnum;private Timestamp prodate;private String gaddr;private String gtel;private Integer gstatus;private String gurl;// Constructors/** default constructor */public Goods() {}/** full constructor */public Goods(String gname, Double gprice, Integer gnum, Timestamp prodate,         String gaddr, String gtel, Integer gstatus,        String gurl) {    this.gname = gname;    this.gprice = gprice;    this.gnum = gnum;    this.prodate = prodate;    this.gaddr = gaddr;    this.gtel = gtel;    this.gstatus = gstatus;    this.gurl = gurl;}public Goods(Integer gid, String gname, Double gprice, Integer gnum,        Timestamp prodate,  String gaddr, String gtel,        Integer gstatus, String gurl) {    super();    this.gid = gid;    this.gname = gname;    this.gprice = gprice;    this.gnum = gnum;    this.prodate = prodate;    this.gaddr = gaddr;    this.gtel = gtel;    this.gstatus = gstatus;    this.gurl = gurl;}// Property accessorspublic Integer getGid() {    return this.gid;}public void setGid(Integer gid) {    this.gid = gid;}public String getGname() {    return this.gname;}public void setGname(String gname) {    this.gname = gname;}public Double getGprice() {    return this.gprice;}public void setGprice(Double gprice) {    this.gprice = gprice;}public Integer getGnum() {    return this.gnum;}public void setGnum(Integer gnum) {    this.gnum = gnum;}public Timestamp getProdate() {    return this.prodate;}public void setProdate(Timestamp prodate) {    this.prodate = prodate;}public String getGaddr() {    return this.gaddr;}public void setGaddr(String gaddr) {    this.gaddr = gaddr;}public String getGtel() {    return this.gtel;}public void setGtel(String gtel) {    this.gtel = gtel;}public Integer getGstatus() {    return this.gstatus;}public void setGstatus(Integer gstatus) {    this.gstatus = gstatus;}public String getGurl() {    return this.gurl;}public void setGurl(String gurl) {    this.gurl = gurl;}

}

转载地址:http://ipdgo.baihongyu.com/

你可能感兴趣的文章
Kubernetes的service mesh——第一部分:Service的重要指标
查看>>
全链路监控
查看>>
我的友情链接
查看>>
我的IT博客之路
查看>>
深入理解javascript原型和闭包(10)——this
查看>>
系统集成资质培训-论文写作-几个题目如何写?(updated)
查看>>
搭建自己的框架之1:Rxjava2+Retrofit2 实现Android Http请求
查看>>
排序算法-快速排序
查看>>
CSS3 Background 属性介绍
查看>>
frameset 的一些小应用
查看>>
eclipse自动换行
查看>>
Android PDF 阅读器源码
查看>>
我的友情链接
查看>>
silverlight渐隐效果
查看>>
使用Docker实现php代码在线测试执行工具-toolfk.com
查看>>
簡單範例 mergecap,wireshark 付屬程式
查看>>
网络文件传输学习
查看>>
Installation Oracle11gR2 RAC One Node ---创建数据库
查看>>
spring 通过EsClientFactory注入elasticsearch
查看>>
打造中国第一品牌安全网关
查看>>