com.jladder.db.KeepDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jladder Show documentation
Show all versions of jladder Show documentation
with java,a low code SDK,通用低代码开发包
package com.jladder.db;
///
/// 持续数据库访问操作对象
///
public class KeepDao
{
///
/// 数据库访问操作对象
///
public IDao Dao;
///
/// 数据库事务是否可以管理
///
public boolean isManageTran;
///
/// 是否允许关闭
///
public boolean isAllowClose= true;
///
/// 提请次数
///
public int takeTimes = 0;
///
/// 完成次数
///
public int finishTimes = 0;
///
/// 是否当前活动
///
public boolean isActive= true;
public int sequence= 0;
///
/// 提请一次
///
///
public int take()
{
takeTimes++;
return takeTimes;
}
///
/// 完成放置一次
///
///
public int finish()
{
finishTimes++;
return finishTimes;
}
}