批量青苔设置
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
|
||||
package com.czg.account.dto.table;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 台桌配置 实体类。
|
||||
*
|
||||
* @author zs
|
||||
* @since 2025-02-13
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class ShopTableEditBatchDTO implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 自动清台 0手动 1自动
|
||||
*/
|
||||
private Integer autoClear;
|
||||
|
||||
/**
|
||||
* 自动清台时间 单位分钟 默认10
|
||||
*/
|
||||
private Integer clearTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -126,6 +126,8 @@ public class ShopTable implements Serializable {
|
||||
*/
|
||||
private Integer useNum;
|
||||
|
||||
private Integer autoClear;
|
||||
|
||||
public boolean canUseByStatus() {
|
||||
return !ShopTableStatusEnum.UNBOUND.equalsVal(status)
|
||||
&& !ShopTableStatusEnum.SETTLED.equalsVal(status)
|
||||
|
||||
Reference in New Issue
Block a user