org.summerboot.jexpress.integration.cache.domain.FlashSale Maven / Gradle / Ivy
/*
* Copyright 2005-2022 Du Law Office - The Summer Boot Framework Project
*
* The Summer Boot Project licenses this file to you under the Apache License, version 2.0 (the
* "License"); you may not use this file except in compliance with the License and you have no
* policy prohibiting employee contributions back to this file (unless the contributor to this
* file is your current or retired employee). You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package org.summerboot.jexpress.integration.cache.domain;
/**
* @author Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
*/
public class FlashSale {
public static final String Status = "Status";
public static final String Total = "Total";
public static final String Limit = "Limit";
public static final String Booked = "Booked";
protected int status;
protected long total;
protected long limit;
protected long booked;
public FlashSale() {
}
@Override
public String toString() {
return "FlashSale{" + "status=" + status + ", total=" + total + ", limit=" + limit + ", booked=" + booked + '}';
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public long getTotal() {
return total;
}
public void setTotal(long total) {
this.total = total;
}
public long getLimit() {
return limit;
}
public void setLimit(long limit) {
this.limit = limit;
}
public long getBooked() {
return booked;
}
public void setBooked(long booked) {
this.booked = booked;
}
}