order.java~2~
资源名称:bookshop.zip [点击查看]
上传用户:sxlinghang
上传日期:2022-07-20
资源大小:1405k
文件大小:3k
源码类别:
数据库编程
开发平台:
Java
- package bookshop.book;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2004</p>
- * <p>Company: </p>
- * @author not attributable
- * @version 1.0
- */
- public class order {
- private long Id; //ID序列号
- private String IndentNo; //订单编号
- private long UserId; //用户序列号
- private String SubmitTime; //提交订单时间
- private String ConsignmentTime; //交货时间
- private float TotalPrice; //总金额
- private String content; //用户备注
- private String IPAddress; //下单时IP
- private boolean IsPayoff; //用户是否已付款
- private boolean IsSales; //是否已发货
- public order() {
- Id = 0;
- IndentNo = "";
- UserId = 0;
- SubmitTime = "";
- ConsignmentTime = "";
- TotalPrice = 0;
- content = "";
- IPAddress = "";
- IsPayoff = false;
- IsSales = false;
- }
- public long getId() {
- return Id;
- }
- public void setId(long newId){
- this.Id = newId;
- }
- public String getIndentNo() {
- return IndentNo;
- }
- public void setIndentNo(String newIndentNo) {
- this.IndentNo = newIndentNo;
- }
- public long getUserId() {
- return UserId;
- }
- public void setUserId(long newUserId){
- this.UserId = newUserId;
- }
- public String getSubmitTime() {
- return SubmitTime;
- }
- public void setSubmitTime(String newSubmitTime) {
- this.SubmitTime = newSubmitTime;
- }
- public String getConsignmentTime() {
- return ConsignmentTime;
- }
- public void setConsignmentTime(String con_time) {
- ConsignmentTime = con_time;
- }
- public float getTotalPrice() {
- return TotalPrice;
- }
- public void setTotalPrice(float newTotalPrice){
- this.TotalPrice = newTotalPrice;
- }
- public String getContent() {
- return content;
- }
- public void setContent(String newContent) {
- this.content = newContent;
- }
- public String getIPAddress() {
- return IPAddress;
- }
- public void setIPAddress(String newIPAddress) {
- this.IPAddress = newIPAddress;
- }
- public boolean getIsPayoff() {
- return IsPayoff;
- }
- public void setIsPayoff(boolean newIsPayoff){
- this.IsPayoff = newIsPayoff;
- }
- public boolean getIsSales() {
- return IsSales;
- }
- public void setIsSales(boolean newIsSales){
- this.IsSales = newIsSales;
- }
- }