ICode9

精准搜索请尝试: 精确搜索
首页 > 编程语言> 文章详细

狂神说java超市管理系统po层

2021-10-05 17:31:27  阅读:169  来源: 互联网

标签:return String void private public Long java 狂神 po


adderss

package po;

import java.sql.Date;

public class adderss {
    private Long id;

    private String contact;

    private String addressdesc;

    private String postcode;

    private String tel;

    private Long createdby;

    private Date creationdate;

    private Long modifyby;

    private Date modifydate;

    private Long userid;

    public Long getId() {
        return id;
    }

    public String getContact() {
        return contact;
    }

    public String getAddressdesc() {
        return addressdesc;
    }

    public String getPostcode() {
        return postcode;
    }

    public String getTel() {
        return tel;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public Long getModifyby() {
        return modifyby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public Long getUserid() {
        return userid;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public void setAddressdesc(String addressdesc) {
        this.addressdesc = addressdesc;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }
}

bill

package po;

import java.math.BigDecimal;
import java.sql.Date;

public class bill {
    private Long id;

    private String billcode;

    private String productname;

    private String productdesc;

    private String productunit;

    private BigDecimal productcount;

    private BigDecimal totalprice;

    private Integer ispayment;

    private Long createdby;

    private Date creationdate;

    private Long modifyby;

    private Date modifydate;

    private Integer providerid;

    public Long getId() {
        return id;
    }

    public String getBillcode() {
        return billcode;
    }

    public String getProductname() {
        return productname;
    }

    public String getProductdesc() {
        return productdesc;
    }

    public String getProductunit() {
        return productunit;
    }

    public BigDecimal getProductcount() {
        return productcount;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public Integer getIspayment() {
        return ispayment;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public Long getModifyby() {
        return modifyby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public Integer getProviderid() {
        return providerid;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setBillcode(String billcode) {
        this.billcode = billcode;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public void setProductdesc(String productdesc) {
        this.productdesc = productdesc;
    }

    public void setProductunit(String productunit) {
        this.productunit = productunit;
    }

    public void setProductcount(BigDecimal productcount) {
        this.productcount = productcount;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public void setIspayment(Integer ispayment) {
        this.ispayment = ispayment;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setProviderid(Integer providerid) {
        this.providerid = providerid;
    }
}
provider
package po;

import java.sql.Date;

public class provider {
    private Long id;

    private String procode;

    private String proname;

    private String prodesc;

    private String procontact;

    private String prophone;

    private String proaddress;

    private String profax;

    private Long createdby;

    private Date creationdate;

    private Date modifydate;

    private Long modifyby;

    public void setId(Long id) {
        this.id = id;
    }

    public void setProcode(String procode) {
        this.procode = procode;
    }

    public void setProname(String proname) {
        this.proname = proname;
    }

    public void setProdesc(String prodesc) {
        this.prodesc = prodesc;
    }

    public void setProcontact(String procontact) {
        this.procontact = procontact;
    }

    public void setProphone(String prophone) {
        this.prophone = prophone;
    }

    public void setProaddress(String proaddress) {
        this.proaddress = proaddress;
    }

    public void setProfax(String profax) {
        this.profax = profax;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }

    public Long getId() {
        return id;
    }

    public String getProcode() {
        return procode;
    }

    public String getProname() {
        return proname;
    }

    public String getProdesc() {
        return prodesc;
    }

    public String getProcontact() {
        return procontact;
    }

    public String getProphone() {
        return prophone;
    }

    public String getProaddress() {
        return proaddress;
    }

    public String getProfax() {
        return profax;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public Long getModifyby() {
        return modifyby;
    }
}

role

package po;

import java.sql.Date;

public class role {

    private Long id;

    private String rolecode;

    private String rolename;

    private Long createdby;

    private Date creationdate;

    private Long modifyby;

    private Date modifydate;

    public Long getId() {
        return id;
    }

    public String getRolecode() {
        return rolecode;
    }

    public String getRolename() {
        return rolename;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public Long getModifyby() {
        return modifyby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setRolecode(String rolecode) {
        this.rolecode = rolecode;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    @Override
    public String toString() {
        return "role{" +
                "id=" + id +
                ", rolecode='" + rolecode + '\'' +
                ", rolename='" + rolename + '\'' +
                ", createdby=" + createdby +
                ", creationdate=" + creationdate +
                ", modifyby=" + modifyby +
                ", modifydate=" + modifydate +
                '}';
    }
}

user

package po;

import java.util.Date;

public class user {
    //用户
    private int id;
    private String userCode;
    private String userName;
    private String userPassword;
    private String gender;
    private Date birthday;
    private String phone;
    private String address;
    private String userRole;
    private String createdBy;
    private Date creationDate;
    private String modifyBy;
    private String modifyDate;
    private int age;

    public int getAge() {
        Date date = new Date();
        age = date.getYear() - this.birthday.getYear();
        return age;
    }
    public String getUserCode() {
        return userCode;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public String getGender() {
        return gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public String getPhone() {
        return phone;
    }

    public String getAddress() {
        return address;
    }

    public String getUserRole() {
        return userRole;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "user{" +
                "id=" + id +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday=" + birthday +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", userRole='" + userRole + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", creationDate=" + creationDate +
                ", modifyBy='" + modifyBy + '\'' +
                ", modifyDate='" + modifyDate + '\'' +
                ", age=" + age +
                '}';
    }
}

 

标签:return,String,void,private,public,Long,java,狂神,po
来源: https://www.cnblogs.com/en112300/p/15369066.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有