正在显示
51 个修改的文件
包含
4586 行增加
和
37 行删除
| @@ -21,7 +21,7 @@ public class Yu2leLoginToken implements Serializable { | @@ -21,7 +21,7 @@ public class Yu2leLoginToken implements Serializable { | ||
| 21 | private String parentUserNickName; //上级用户昵称 | 21 | private String parentUserNickName; //上级用户昵称 |
| 22 | private JSONObject date; //数据 | 22 | private JSONObject date; //数据 |
| 23 | private Integer createTime; //生成时间 | 23 | private Integer createTime; //生成时间 |
| 24 | - private String key = "LiuYuLeXX"; //密钥 | 24 | + private static String key = "LiuYuLeXX"; //密钥 |
| 25 | private Integer userType; //用户类型(0普通用户,1管理员) | 25 | private Integer userType; //用户类型(0普通用户,1管理员) |
| 26 | private Integer isOperation = 1; //有无操作权限 (0无,1有) | 26 | private Integer isOperation = 1; //有无操作权限 (0无,1有) |
| 27 | 27 |
| @@ -4,6 +4,7 @@ import com.ruoyi.common.enums.UserStatus; | @@ -4,6 +4,7 @@ import com.ruoyi.common.enums.UserStatus; | ||
| 4 | import com.ruoyi.common.exception.ServiceException; | 4 | import com.ruoyi.common.exception.ServiceException; |
| 5 | import com.ruoyi.common.tool.SysLogininforType; | 5 | import com.ruoyi.common.tool.SysLogininforType; |
| 6 | import com.ruoyi.common.utils.StringUtils; | 6 | import com.ruoyi.common.utils.StringUtils; |
| 7 | +import com.ruoyi.common.utils.spring.SpringUtils; | ||
| 7 | import com.ruoyi.system.domain.entity.SysUser; | 8 | import com.ruoyi.system.domain.entity.SysUser; |
| 8 | import com.zhonglai.luhui.security.dto.SysLoginUser; | 9 | import com.zhonglai.luhui.security.dto.SysLoginUser; |
| 9 | import com.zhonglai.luhui.sys.service.ISysUserService; | 10 | import com.zhonglai.luhui.sys.service.ISysUserService; |
| @@ -13,25 +14,21 @@ import org.springframework.beans.factory.annotation.Autowired; | @@ -13,25 +14,21 @@ import org.springframework.beans.factory.annotation.Autowired; | ||
| 13 | import org.springframework.security.core.userdetails.UserDetails; | 14 | import org.springframework.security.core.userdetails.UserDetails; |
| 14 | import org.springframework.security.core.userdetails.UserDetailsService; | 15 | import org.springframework.security.core.userdetails.UserDetailsService; |
| 15 | import org.springframework.security.core.userdetails.UsernameNotFoundException; | 16 | import org.springframework.security.core.userdetails.UsernameNotFoundException; |
| 16 | -import org.springframework.stereotype.Service; | ||
| 17 | 17 | ||
| 18 | /** | 18 | /** |
| 19 | * 用户验证处理 | 19 | * 用户验证处理 |
| 20 | * | 20 | * |
| 21 | * @author ruoyi | 21 | * @author ruoyi |
| 22 | */ | 22 | */ |
| 23 | -@Service | ||
| 24 | -public class AdminDetailsServiceImpl implements UserDetailsService | 23 | +public abstract class AdminDetailsService implements UserDetailsService |
| 25 | { | 24 | { |
| 26 | - private static final Logger log = LoggerFactory.getLogger(AdminDetailsServiceImpl.class); | ||
| 27 | - | ||
| 28 | - @Autowired | ||
| 29 | - private ISysUserService userService; | 25 | + private static final Logger log = LoggerFactory.getLogger(AdminDetailsService.class); |
| 30 | 26 | ||
| 31 | 27 | ||
| 32 | @Override | 28 | @Override |
| 33 | public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException | 29 | public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException |
| 34 | { | 30 | { |
| 31 | + ISysUserService userService = SpringUtils.getBean(ISysUserService.class); | ||
| 35 | SysUser user = userService.selectUserByUserName(username); | 32 | SysUser user = userService.selectUserByUserName(username); |
| 36 | if (StringUtils.isNull(user)) | 33 | if (StringUtils.isNull(user)) |
| 37 | { | 34 | { |
| @@ -3,31 +3,31 @@ package com.zhonglai.luhui.security.service; | @@ -3,31 +3,31 @@ package com.zhonglai.luhui.security.service; | ||
| 3 | import com.ruoyi.common.exception.ServiceException; | 3 | import com.ruoyi.common.exception.ServiceException; |
| 4 | import com.ruoyi.common.tool.SysLogininforType; | 4 | import com.ruoyi.common.tool.SysLogininforType; |
| 5 | import com.ruoyi.common.utils.StringUtils; | 5 | import com.ruoyi.common.utils.StringUtils; |
| 6 | +import com.ruoyi.common.utils.spring.SpringUtils; | ||
| 6 | import com.zhonglai.luhui.dao.service.PublicService; | 7 | import com.zhonglai.luhui.dao.service.PublicService; |
| 7 | import com.zhonglai.luhui.security.dto.ApiLoginUser; | 8 | import com.zhonglai.luhui.security.dto.ApiLoginUser; |
| 8 | import com.zhonglai.luhui.security.dto.Yu2leUserInfo; | 9 | import com.zhonglai.luhui.security.dto.Yu2leUserInfo; |
| 9 | import com.zhonglai.luhui.security.dto.Yu2leUserLogin; | 10 | import com.zhonglai.luhui.security.dto.Yu2leUserLogin; |
| 11 | +import com.zhonglai.luhui.sys.service.ISysUserService; | ||
| 10 | import org.slf4j.Logger; | 12 | import org.slf4j.Logger; |
| 11 | import org.slf4j.LoggerFactory; | 13 | import org.slf4j.LoggerFactory; |
| 12 | import org.springframework.beans.factory.annotation.Autowired; | 14 | import org.springframework.beans.factory.annotation.Autowired; |
| 13 | import org.springframework.security.core.userdetails.UserDetails; | 15 | import org.springframework.security.core.userdetails.UserDetails; |
| 14 | import org.springframework.security.core.userdetails.UserDetailsService; | 16 | import org.springframework.security.core.userdetails.UserDetailsService; |
| 15 | import org.springframework.security.core.userdetails.UsernameNotFoundException; | 17 | import org.springframework.security.core.userdetails.UsernameNotFoundException; |
| 16 | -import org.springframework.stereotype.Service; | ||
| 17 | 18 | ||
| 18 | /** | 19 | /** |
| 19 | * 用户验证处理 | 20 | * 用户验证处理 |
| 20 | * | 21 | * |
| 21 | * @author ruoyi | 22 | * @author ruoyi |
| 22 | */ | 23 | */ |
| 23 | -@Service | ||
| 24 | -public class ApiDetailsServiceImpl implements UserDetailsService | 24 | +public class ApiDetailsService implements UserDetailsService |
| 25 | { | 25 | { |
| 26 | - private static final Logger log = LoggerFactory.getLogger(ApiDetailsServiceImpl.class); | ||
| 27 | - @Autowired | ||
| 28 | - private PublicService publicService; | 26 | + private static final Logger log = LoggerFactory.getLogger(ApiDetailsService.class); |
| 29 | @Override | 27 | @Override |
| 30 | public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { | 28 | public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { |
| 29 | + PublicService publicService = SpringUtils.getBean(PublicService.class); | ||
| 30 | + | ||
| 31 | Yu2leUserLogin yu2leUserLogin = publicService.getObjectForTableName(Yu2leUserLogin.class,"loginName",username,"`liu_yu_le`.`user_login`"); | 31 | Yu2leUserLogin yu2leUserLogin = publicService.getObjectForTableName(Yu2leUserLogin.class,"loginName",username,"`liu_yu_le`.`user_login`"); |
| 32 | Yu2leUserInfo yu2leUserInfo = publicService.getObjectForTableName(Yu2leUserInfo.class,"loginName",username,"`liu_yu_le`.`user_info`");; | 32 | Yu2leUserInfo yu2leUserInfo = publicService.getObjectForTableName(Yu2leUserInfo.class,"loginName",username,"`liu_yu_le`.`user_info`");; |
| 33 | if (StringUtils.isNull(yu2leUserLogin) || StringUtils.isNull(yu2leUserInfo)) | 33 | if (StringUtils.isNull(yu2leUserLogin) || StringUtils.isNull(yu2leUserInfo)) |
| 1 | package com.zhonglai.luhui.afms.config; | 1 | package com.zhonglai.luhui.afms.config; |
| 2 | 2 | ||
| 3 | import com.ruoyi.common.core.domain.AjaxResult; | 3 | import com.ruoyi.common.core.domain.AjaxResult; |
| 4 | -import com.ruoyi.common.exception.ServiceException; | ||
| 5 | import com.ruoyi.common.tool.SysLogininforType; | 4 | import com.ruoyi.common.tool.SysLogininforType; |
| 6 | import com.ruoyi.common.utils.GsonConstructor; | 5 | import com.ruoyi.common.utils.GsonConstructor; |
| 7 | import com.ruoyi.common.utils.spring.SpringUtils; | 6 | import com.ruoyi.common.utils.spring.SpringUtils; |
| @@ -9,7 +8,7 @@ import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | @@ -9,7 +8,7 @@ import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | ||
| 9 | import com.zhonglai.luhui.security.dto.BaseLoginUser; | 8 | import com.zhonglai.luhui.security.dto.BaseLoginUser; |
| 10 | import com.zhonglai.luhui.security.filter.JwtAuthenticationTokenFilter; | 9 | import com.zhonglai.luhui.security.filter.JwtAuthenticationTokenFilter; |
| 11 | import com.zhonglai.luhui.security.handle.LogoutSuccessHandlerImpl; | 10 | import com.zhonglai.luhui.security.handle.LogoutSuccessHandlerImpl; |
| 12 | -import com.zhonglai.luhui.security.service.AdminDetailsServiceImpl; | 11 | +import com.zhonglai.luhui.security.service.AdminDetailsService; |
| 13 | import com.zhonglai.luhui.security.service.SecurityConfigService; | 12 | import com.zhonglai.luhui.security.service.SecurityConfigService; |
| 14 | import com.zhonglai.luhui.security.service.TokenService; | 13 | import com.zhonglai.luhui.security.service.TokenService; |
| 15 | import org.slf4j.Logger; | 14 | import org.slf4j.Logger; |
| @@ -35,7 +34,7 @@ public class AdminConfigurerAdapter extends DefaultSecurityConfig { | @@ -35,7 +34,7 @@ public class AdminConfigurerAdapter extends DefaultSecurityConfig { | ||
| 35 | private static final Logger log = LoggerFactory.getLogger(AdminConfigurerAdapter.class); | 34 | private static final Logger log = LoggerFactory.getLogger(AdminConfigurerAdapter.class); |
| 36 | 35 | ||
| 37 | @Autowired | 36 | @Autowired |
| 38 | - private AdminDetailsServiceImpl adminDetailsService; | 37 | + private AdminDetailsService adminDetailsService; |
| 39 | 38 | ||
| 40 | @Autowired | 39 | @Autowired |
| 41 | private SecurityConfigService securityConfigService; | 40 | private SecurityConfigService securityConfigService; |
| 1 | package com.zhonglai.luhui.afms.config; | 1 | package com.zhonglai.luhui.afms.config; |
| 2 | 2 | ||
| 3 | import com.ruoyi.common.core.domain.AjaxResult; | 3 | import com.ruoyi.common.core.domain.AjaxResult; |
| 4 | -import com.ruoyi.common.exception.ServiceException; | ||
| 5 | import com.ruoyi.common.tool.SysLogininforType; | 4 | import com.ruoyi.common.tool.SysLogininforType; |
| 6 | import com.ruoyi.common.utils.GsonConstructor; | 5 | import com.ruoyi.common.utils.GsonConstructor; |
| 7 | import com.ruoyi.common.utils.spring.SpringUtils; | 6 | import com.ruoyi.common.utils.spring.SpringUtils; |
| @@ -9,7 +8,7 @@ import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | @@ -9,7 +8,7 @@ import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | ||
| 9 | import com.zhonglai.luhui.security.dto.BaseLoginUser; | 8 | import com.zhonglai.luhui.security.dto.BaseLoginUser; |
| 10 | import com.zhonglai.luhui.security.filter.JwtAuthenticationTokenFilter; | 9 | import com.zhonglai.luhui.security.filter.JwtAuthenticationTokenFilter; |
| 11 | import com.zhonglai.luhui.security.handle.LogoutSuccessHandlerImpl; | 10 | import com.zhonglai.luhui.security.handle.LogoutSuccessHandlerImpl; |
| 12 | -import com.zhonglai.luhui.security.service.ApiDetailsServiceImpl; | 11 | +import com.zhonglai.luhui.security.service.ApiDetailsService; |
| 13 | import com.zhonglai.luhui.security.service.SecurityConfigService; | 12 | import com.zhonglai.luhui.security.service.SecurityConfigService; |
| 14 | import com.zhonglai.luhui.security.service.TokenService; | 13 | import com.zhonglai.luhui.security.service.TokenService; |
| 15 | import org.slf4j.Logger; | 14 | import org.slf4j.Logger; |
| @@ -34,7 +33,7 @@ public class ApiConfigurerAdapter extends DefaultSecurityConfig { | @@ -34,7 +33,7 @@ public class ApiConfigurerAdapter extends DefaultSecurityConfig { | ||
| 34 | private static final Logger log = LoggerFactory.getLogger(ApiConfigurerAdapter.class); | 33 | private static final Logger log = LoggerFactory.getLogger(ApiConfigurerAdapter.class); |
| 35 | 34 | ||
| 36 | @Autowired | 35 | @Autowired |
| 37 | - private ApiDetailsServiceImpl apiDetailsService; | 36 | + private ApiDetailsService apiDetailsService; |
| 38 | 37 | ||
| 39 | @Autowired | 38 | @Autowired |
| 40 | private SecurityConfigService securityConfigService; | 39 | private SecurityConfigService securityConfigService; |
| 1 | package com.zhonglai.luhui.login.config; | 1 | package com.zhonglai.luhui.login.config; |
| 2 | 2 | ||
| 3 | -import com.ruoyi.common.exception.ServiceException; | ||
| 4 | import com.ruoyi.common.tool.SysLogininforType; | 3 | import com.ruoyi.common.tool.SysLogininforType; |
| 5 | import com.ruoyi.common.utils.spring.SpringUtils; | 4 | import com.ruoyi.common.utils.spring.SpringUtils; |
| 6 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | 5 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; |
| 7 | -import com.zhonglai.luhui.security.dto.BaseLoginUser; | ||
| 8 | -import com.zhonglai.luhui.security.filter.JwtAuthenticationTokenFilter; | ||
| 9 | -import com.zhonglai.luhui.security.service.AdminDetailsServiceImpl; | 6 | +import com.zhonglai.luhui.security.service.AdminDetailsService; |
| 10 | import com.zhonglai.luhui.security.service.SecurityConfigService; | 7 | import com.zhonglai.luhui.security.service.SecurityConfigService; |
| 11 | -import com.zhonglai.luhui.security.service.TokenService; | ||
| 12 | import org.springframework.beans.factory.annotation.Autowired; | 8 | import org.springframework.beans.factory.annotation.Autowired; |
| 13 | import org.springframework.context.annotation.Configuration; | 9 | import org.springframework.context.annotation.Configuration; |
| 14 | import org.springframework.core.annotation.Order; | 10 | import org.springframework.core.annotation.Order; |
| 15 | import org.springframework.security.config.annotation.web.builders.HttpSecurity; | 11 | import org.springframework.security.config.annotation.web.builders.HttpSecurity; |
| 16 | -import org.springframework.security.core.context.SecurityContextHolder; | ||
| 17 | import org.springframework.security.core.userdetails.UserDetailsService; | 12 | import org.springframework.security.core.userdetails.UserDetailsService; |
| 18 | import org.springframework.security.crypto.password.PasswordEncoder; | 13 | import org.springframework.security.crypto.password.PasswordEncoder; |
| 19 | 14 | ||
| 20 | -import javax.servlet.*; | ||
| 21 | -import javax.servlet.http.HttpServletRequest; | ||
| 22 | -import java.io.IOException; | ||
| 23 | - | ||
| 24 | /** | 15 | /** |
| 25 | * app接口安全策略. 没有{@link Order}注解优先级比上面低 | 16 | * app接口安全策略. 没有{@link Order}注解优先级比上面低 |
| 26 | */ | 17 | */ |
| @@ -29,7 +20,7 @@ import java.io.IOException; | @@ -29,7 +20,7 @@ import java.io.IOException; | ||
| 29 | public class AdminConfigurerAdapter extends DefaultSecurityConfig { | 20 | public class AdminConfigurerAdapter extends DefaultSecurityConfig { |
| 30 | 21 | ||
| 31 | @Autowired | 22 | @Autowired |
| 32 | - private AdminDetailsServiceImpl adminDetailsService; | 23 | + private AdminDetailsService adminDetailsService; |
| 33 | 24 | ||
| 34 | @Autowired | 25 | @Autowired |
| 35 | private SecurityConfigService securityConfigService; | 26 | private SecurityConfigService securityConfigService; |
| @@ -3,7 +3,7 @@ package com.zhonglai.luhui.login.config; | @@ -3,7 +3,7 @@ package com.zhonglai.luhui.login.config; | ||
| 3 | import com.ruoyi.common.tool.SysLogininforType; | 3 | import com.ruoyi.common.tool.SysLogininforType; |
| 4 | import com.ruoyi.common.utils.spring.SpringUtils; | 4 | import com.ruoyi.common.utils.spring.SpringUtils; |
| 5 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | 5 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; |
| 6 | -import com.zhonglai.luhui.security.service.ApiDetailsServiceImpl; | 6 | +import com.zhonglai.luhui.security.service.ApiDetailsService; |
| 7 | import com.zhonglai.luhui.security.service.SecurityConfigService; | 7 | import com.zhonglai.luhui.security.service.SecurityConfigService; |
| 8 | import org.springframework.beans.factory.annotation.Autowired; | 8 | import org.springframework.beans.factory.annotation.Autowired; |
| 9 | import org.springframework.context.annotation.Configuration; | 9 | import org.springframework.context.annotation.Configuration; |
| @@ -18,7 +18,7 @@ import org.springframework.security.crypto.password.PasswordEncoder; | @@ -18,7 +18,7 @@ import org.springframework.security.crypto.password.PasswordEncoder; | ||
| 18 | @Configuration | 18 | @Configuration |
| 19 | public class ApiConfigurerAdapter extends DefaultSecurityConfig { | 19 | public class ApiConfigurerAdapter extends DefaultSecurityConfig { |
| 20 | @Autowired | 20 | @Autowired |
| 21 | - private ApiDetailsServiceImpl apiDetailsService; | 21 | + private ApiDetailsService apiDetailsService; |
| 22 | 22 | ||
| 23 | @Autowired | 23 | @Autowired |
| 24 | private SecurityConfigService securityConfigService; | 24 | private SecurityConfigService securityConfigService; |
| @@ -4,7 +4,10 @@ import com.ruoyi.common.constant.Constants; | @@ -4,7 +4,10 @@ import com.ruoyi.common.constant.Constants; | ||
| 4 | import com.ruoyi.common.core.domain.AjaxResult; | 4 | import com.ruoyi.common.core.domain.AjaxResult; |
| 5 | import com.ruoyi.common.utils.StringUtils; | 5 | import com.ruoyi.common.utils.StringUtils; |
| 6 | import com.zhonglai.luhui.action.BaseController; | 6 | import com.zhonglai.luhui.action.BaseController; |
| 7 | +import com.zhonglai.luhui.dao.service.PublicService; | ||
| 7 | import com.zhonglai.luhui.login.service.LoginService; | 8 | import com.zhonglai.luhui.login.service.LoginService; |
| 9 | +import com.zhonglai.luhui.security.dto.Yu2leLoginToken; | ||
| 10 | +import com.zhonglai.luhui.security.dto.Yu2leUserInfo; | ||
| 8 | import io.swagger.annotations.Api; | 11 | import io.swagger.annotations.Api; |
| 9 | import io.swagger.annotations.ApiImplicitParam; | 12 | import io.swagger.annotations.ApiImplicitParam; |
| 10 | import io.swagger.annotations.ApiImplicitParams; | 13 | import io.swagger.annotations.ApiImplicitParams; |
| @@ -23,6 +26,9 @@ public class ApiLoginController extends BaseController { | @@ -23,6 +26,9 @@ public class ApiLoginController extends BaseController { | ||
| 23 | @Autowired | 26 | @Autowired |
| 24 | private LoginService loginService; | 27 | private LoginService loginService; |
| 25 | 28 | ||
| 29 | + @Autowired | ||
| 30 | + private PublicService publicService; | ||
| 31 | + | ||
| 26 | @ApiOperation("账号密码登陆") | 32 | @ApiOperation("账号密码登陆") |
| 27 | @ApiImplicitParams({ | 33 | @ApiImplicitParams({ |
| 28 | @ApiImplicitParam(value = "账号",name = "user"), | 34 | @ApiImplicitParam(value = "账号",name = "user"), |
| @@ -53,4 +59,25 @@ public class ApiLoginController extends BaseController { | @@ -53,4 +59,25 @@ public class ApiLoginController extends BaseController { | ||
| 53 | ajax.put(Constants.TOKEN, token); | 59 | ajax.put(Constants.TOKEN, token); |
| 54 | return ajax; | 60 | return ajax; |
| 55 | } | 61 | } |
| 62 | + | ||
| 63 | + @ApiOperation("流水鱼token登陆") | ||
| 64 | + @ApiImplicitParam(value = "流水鱼token",name = "loginToken") | ||
| 65 | + @PostMapping("/getYuerleByruningfishLogin") | ||
| 66 | + public AjaxResult getYuerleByruningfishLogin(@RequestHeader String loginToken) | ||
| 67 | + { | ||
| 68 | + if(StringUtils.isEmpty(loginToken)) | ||
| 69 | + { | ||
| 70 | + return AjaxResult.error("请输入鱼儿乐令牌"); | ||
| 71 | + } | ||
| 72 | + AjaxResult ajax = AjaxResult.success(); | ||
| 73 | + | ||
| 74 | + Yu2leLoginToken yu2leLoginToken = new Yu2leLoginToken(loginToken); | ||
| 75 | + Yu2leUserInfo userInfo = publicService.getObjectForTableName(Yu2leUserInfo.class,"loginName",yu2leLoginToken.getUserLoginName()+"","`liu_yu_le`.`user_info`"); | ||
| 76 | + if(null == userInfo) | ||
| 77 | + { | ||
| 78 | + return AjaxResult.error("该用户没有注册鱼儿乐"); | ||
| 79 | + } | ||
| 80 | + ajax.put(Constants.TOKEN, new Yu2leLoginToken(userInfo.getId(),userInfo.getLoginName(),userInfo.getNickname(),0).get()); | ||
| 81 | + return ajax; | ||
| 82 | + } | ||
| 56 | } | 83 | } |
| @@ -11,8 +11,6 @@ import com.ruoyi.common.utils.spring.SpringUtils; | @@ -11,8 +11,6 @@ import com.ruoyi.common.utils.spring.SpringUtils; | ||
| 11 | import com.ruoyi.system.domain.entity.SysUser; | 11 | import com.ruoyi.system.domain.entity.SysUser; |
| 12 | import com.ruoyi.common.tool.SysLogininforType; | 12 | import com.ruoyi.common.tool.SysLogininforType; |
| 13 | import com.zhonglai.luhui.dao.service.PublicService; | 13 | import com.zhonglai.luhui.dao.service.PublicService; |
| 14 | -import com.zhonglai.luhui.login.config.AdminConfigurerAdapter; | ||
| 15 | -import com.zhonglai.luhui.login.config.ApiConfigurerAdapter; | ||
| 16 | import com.zhonglai.luhui.redis.service.RedisCache; | 14 | import com.zhonglai.luhui.redis.service.RedisCache; |
| 17 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | 15 | import com.zhonglai.luhui.security.config.DefaultSecurityConfig; |
| 18 | import com.zhonglai.luhui.security.dto.*; | 16 | import com.zhonglai.luhui.security.dto.*; |
| @@ -87,7 +85,7 @@ public class LoginService { | @@ -87,7 +85,7 @@ public class LoginService { | ||
| 87 | 85 | ||
| 88 | public String openaiLoginByPass(String user,String pass) { | 86 | public String openaiLoginByPass(String user,String pass) { |
| 89 | // 用户验证 | 87 | // 用户验证 |
| 90 | - Authentication authentication = userPasswordVerification(user,pass,SpringUtils.getBean("apiConfigurerAdapter")); | 88 | + Authentication authentication = userPasswordVerification(user,pass,SpringUtils.getBean("openAiConfigurerAdapter")); |
| 91 | AsyncManager.me().execute(AsyncFactory.recordLogininfor(user, SysLogininforType.openAi, Constants.LOGIN_SUCCESS, MessageUtils.message("user.login.success"))); | 89 | AsyncManager.me().execute(AsyncFactory.recordLogininfor(user, SysLogininforType.openAi, Constants.LOGIN_SUCCESS, MessageUtils.message("user.login.success"))); |
| 92 | OpenAiLoginUser loginUser = (OpenAiLoginUser) authentication.getPrincipal(); | 90 | OpenAiLoginUser loginUser = (OpenAiLoginUser) authentication.getPrincipal(); |
| 93 | loginUser.setSysLogininforType(SysLogininforType.openAi); | 91 | loginUser.setSysLogininforType(SysLogininforType.openAi); |
| @@ -16,7 +16,7 @@ import org.springframework.security.crypto.password.PasswordEncoder; | @@ -16,7 +16,7 @@ import org.springframework.security.crypto.password.PasswordEncoder; | ||
| 16 | * app接口安全策略. 没有{@link Order}注解优先级比上面低 | 16 | * app接口安全策略. 没有{@link Order}注解优先级比上面低 |
| 17 | */ | 17 | */ |
| 18 | @Configuration | 18 | @Configuration |
| 19 | -public class ApiConfigurerAdapter extends DefaultSecurityConfig { | 19 | +public class OpenAiConfigurerAdapter extends DefaultSecurityConfig { |
| 20 | @Autowired | 20 | @Autowired |
| 21 | private ChatgptDetailsServiceImpl chatgptDetailsService; | 21 | private ChatgptDetailsServiceImpl chatgptDetailsService; |
| 22 | 22 |
lh-modules/lh-runingfish/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + <parent> | ||
| 7 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 8 | + <artifactId>lh-modules</artifactId> | ||
| 9 | + <version>1.0-SNAPSHOT</version> | ||
| 10 | + </parent> | ||
| 11 | + | ||
| 12 | + <artifactId>lh-runingfish</artifactId> | ||
| 13 | + | ||
| 14 | + <properties> | ||
| 15 | + <maven.compiler.source>8</maven.compiler.source> | ||
| 16 | + <maven.compiler.target>8</maven.compiler.target> | ||
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 18 | + </properties> | ||
| 19 | + | ||
| 20 | + <dependencies> | ||
| 21 | + <dependency> | ||
| 22 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 23 | + <artifactId>lh-jar-sys-service</artifactId> | ||
| 24 | + </dependency> | ||
| 25 | + <dependency> | ||
| 26 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 27 | + <artifactId>lh-common-swagger</artifactId> | ||
| 28 | + </dependency> | ||
| 29 | + <!-- 核心模块--> | ||
| 30 | + <dependency> | ||
| 31 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 32 | + <artifactId>ruoyi-framework</artifactId> | ||
| 33 | + </dependency> | ||
| 34 | + <!-- 核心模块--> | ||
| 35 | + <dependency> | ||
| 36 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 37 | + <artifactId>lh-jar-action</artifactId> | ||
| 38 | + </dependency> | ||
| 39 | + <dependency> | ||
| 40 | + <groupId>org.aspectj</groupId> | ||
| 41 | + <artifactId>aspectjweaver</artifactId> | ||
| 42 | + </dependency> | ||
| 43 | + <dependency> | ||
| 44 | + <groupId>org.aspectj</groupId> | ||
| 45 | + <artifactId>aspectjrt</artifactId> | ||
| 46 | + </dependency> | ||
| 47 | + <dependency> | ||
| 48 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 49 | + <artifactId>ruoyi-common-security</artifactId> | ||
| 50 | + </dependency> | ||
| 51 | + </dependencies> | ||
| 52 | +</project> |
| 1 | +package com.zhonglai.luhui.runingfish; | ||
| 2 | + | ||
| 3 | +import com.ruoyi.framework.config.ResourcesConfig; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; | ||
| 7 | +import org.springframework.context.annotation.ComponentScan; | ||
| 8 | +import org.springframework.context.annotation.FilterType; | ||
| 9 | +import org.springframework.scheduling.annotation.EnableScheduling; | ||
| 10 | + | ||
| 11 | +@ComponentScan(basePackages = { | ||
| 12 | + "com.ruoyi.common", | ||
| 13 | + "com.ruoyi.framework", | ||
| 14 | + "com.zhonglai.luhui.datasource", | ||
| 15 | + "com.zhonglai.luhui.dao", | ||
| 16 | + "com.zhonglai.luhui.sys", | ||
| 17 | + "com.zhonglai.luhui.redis", | ||
| 18 | + "com.zhonglai.luhui.security", | ||
| 19 | + "com.zhonglai.luhui.runingfish", | ||
| 20 | +} | ||
| 21 | +) | ||
| 22 | +@EnableScheduling | ||
| 23 | +@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) | ||
| 24 | +public class Main { | ||
| 25 | + public static void main(String[] args) { | ||
| 26 | + SpringApplication.run(Main.class,args); | ||
| 27 | + System.out.println("启动成功"); | ||
| 28 | + } | ||
| 29 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.config; | ||
| 2 | + | ||
| 3 | +import com.ruoyi.common.tool.SysLogininforType; | ||
| 4 | +import com.ruoyi.common.utils.spring.SpringUtils; | ||
| 5 | +import com.zhonglai.luhui.runingfish.service.RuningfishDetailsServiceImpl; | ||
| 6 | +import com.zhonglai.luhui.security.config.DefaultSecurityConfig; | ||
| 7 | +import com.zhonglai.luhui.security.service.SecurityConfigService; | ||
| 8 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 9 | +import org.springframework.context.annotation.Configuration; | ||
| 10 | +import org.springframework.core.annotation.Order; | ||
| 11 | +import org.springframework.security.config.annotation.web.builders.HttpSecurity; | ||
| 12 | +import org.springframework.security.core.userdetails.UserDetailsService; | ||
| 13 | +import org.springframework.security.crypto.password.PasswordEncoder; | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * app接口安全策略. 没有{@link Order}注解优先级比上面低 | ||
| 17 | + */ | ||
| 18 | +@Configuration | ||
| 19 | +public class ApiConfigurerAdapter extends DefaultSecurityConfig { | ||
| 20 | + @Autowired | ||
| 21 | + private UserDetailsService userDetailsService; | ||
| 22 | + | ||
| 23 | + @Autowired | ||
| 24 | + private SecurityConfigService securityConfigService; | ||
| 25 | + | ||
| 26 | + @Override | ||
| 27 | + public UserDetailsService getUserDetailsService() { | ||
| 28 | + return userDetailsService; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + @Override | ||
| 32 | + public void configHttpSecurity(HttpSecurity httpSecurity) throws Exception { | ||
| 33 | + securityConfigService.configHttpSecurity(httpSecurity); | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + @Override | ||
| 37 | + public PasswordEncoder bCryptPasswordEncoder() { | ||
| 38 | + return SpringUtils.getBean("bCryptPasswordEncoder"); | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + @Override | ||
| 42 | + public SysLogininforType sysLogininforType() { | ||
| 43 | + return SysLogininforType.lhAdmin; | ||
| 44 | + } | ||
| 45 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/config/SwaggerConfig.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.config; | ||
| 2 | + | ||
| 3 | +import com.ruoyi.common.config.RuoYiConfig; | ||
| 4 | +import io.swagger.annotations.ApiOperation; | ||
| 5 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 6 | +import org.springframework.context.annotation.Bean; | ||
| 7 | +import org.springframework.context.annotation.Configuration; | ||
| 8 | +import springfox.documentation.builders.ApiInfoBuilder; | ||
| 9 | +import springfox.documentation.builders.PathSelectors; | ||
| 10 | +import springfox.documentation.builders.RequestHandlerSelectors; | ||
| 11 | +import springfox.documentation.service.Contact; | ||
| 12 | +import springfox.documentation.spi.DocumentationType; | ||
| 13 | +import springfox.documentation.spring.web.plugins.Docket; | ||
| 14 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 15 | + | ||
| 16 | + | ||
| 17 | +@Configuration | ||
| 18 | +@EnableSwagger2 | ||
| 19 | +public class SwaggerConfig { | ||
| 20 | + /** 系统基础配置 */ | ||
| 21 | + @Autowired | ||
| 22 | + private RuoYiConfig ruoyiConfig; | ||
| 23 | + @Bean | ||
| 24 | + public Docket createRestApi() { | ||
| 25 | + return new Docket(DocumentationType.SWAGGER_2) | ||
| 26 | + .groupName("流水鱼") | ||
| 27 | + .apiInfo( | ||
| 28 | + new ApiInfoBuilder().title("标题:流水鱼") | ||
| 29 | + .description("流水鱼") | ||
| 30 | + .contact(new Contact(ruoyiConfig.getName(), null, null)) | ||
| 31 | + .version("版本号:" + ruoyiConfig.getVersion()) | ||
| 32 | + .build() | ||
| 33 | + ) | ||
| 34 | + .select() | ||
| 35 | + .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class)) | ||
| 36 | + .paths(PathSelectors.any()) | ||
| 37 | + .build(); | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + | ||
| 41 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.alarm; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :告警SQL配置 | ||
| 8 | + * @Date: Created in 11:15 2016/12/20 | ||
| 9 | + */ | ||
| 10 | +public class DeviceAlarmSqlConfig extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer deviceSqlConfigId; //主键id | ||
| 13 | + private String sqlConfigKey; //规则字段名 | ||
| 14 | + private Integer deviceConfigId; //告警设置id | ||
| 15 | + private String sqlConfigValue; //规则字段值 | ||
| 16 | + private String sqlConfigView; //显示名称 | ||
| 17 | + | ||
| 18 | + public Integer getDeviceSqlConfigId() { | ||
| 19 | + return deviceSqlConfigId; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + public void setDeviceSqlConfigId(Integer deviceSqlConfigId) { | ||
| 23 | + this.deviceSqlConfigId = deviceSqlConfigId; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public String getSqlConfigKey() { | ||
| 27 | + return sqlConfigKey; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setSqlConfigKey(String sqlConfigKey) { | ||
| 31 | + this.sqlConfigKey = sqlConfigKey; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public Integer getDeviceConfigId() { | ||
| 35 | + return deviceConfigId; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setDeviceConfigId(Integer deviceConfigId) { | ||
| 39 | + this.deviceConfigId = deviceConfigId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getSqlConfigValue() { | ||
| 43 | + return sqlConfigValue; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setSqlConfigValue(String sqlConfigValue) { | ||
| 47 | + this.sqlConfigValue = sqlConfigValue; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getSqlConfigView() { | ||
| 51 | + return sqlConfigView; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setSqlConfigView(String sqlConfigView) { | ||
| 55 | + this.sqlConfigView = sqlConfigView; | ||
| 56 | + } | ||
| 57 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.alarm; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :告警规则key | ||
| 8 | + * @Date: Created in 11:24 2016/12/20 | ||
| 9 | + */ | ||
| 10 | +public class DeviceAlarmSqlConfigKey extends BaseBean { | ||
| 11 | + private String key; //规则字段名 | ||
| 12 | + private String view; //显示名称 | ||
| 13 | + private String sql; //规则sql | ||
| 14 | + private String valusName; //参数名称,分割 | ||
| 15 | + | ||
| 16 | + public String getKey() { | ||
| 17 | + return key; | ||
| 18 | + } | ||
| 19 | + | ||
| 20 | + public void setKey(String key) { | ||
| 21 | + this.key = key; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public String getView() { | ||
| 25 | + return view; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setView(String view) { | ||
| 29 | + this.view = view; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getSql() { | ||
| 33 | + return sql; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setSql(String sql) { | ||
| 37 | + this.sql = sql; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getValusName() { | ||
| 41 | + return valusName; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setValusName(String valusName) { | ||
| 45 | + this.valusName = valusName; | ||
| 46 | + } | ||
| 47 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.alarm; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 系统告警SQL | ||
| 7 | + * Created by Administrator on 2017/1/7. | ||
| 8 | + */ | ||
| 9 | +public class DeviceAlarmSyssqlConfig extends BaseBean { | ||
| 10 | + private Integer deviceConfigId;// | ||
| 11 | + private String alarmCode;// | ||
| 12 | + private Integer isOpen;// | ||
| 13 | + private String configWhereSql;// | ||
| 14 | + private Integer createTime;// | ||
| 15 | + | ||
| 16 | + public Integer getDeviceConfigId() { | ||
| 17 | + return deviceConfigId; | ||
| 18 | + } | ||
| 19 | + | ||
| 20 | + public void setDeviceConfigId(Integer deviceConfigId) { | ||
| 21 | + this.deviceConfigId = deviceConfigId; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public String getAlarmCode() { | ||
| 25 | + return alarmCode; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setAlarmCode(String alarmCode) { | ||
| 29 | + this.alarmCode = alarmCode; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public Integer getIsOpen() { | ||
| 33 | + return isOpen; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setIsOpen(Integer isOpen) { | ||
| 37 | + this.isOpen = isOpen; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getConfigWhereSql() { | ||
| 41 | + return configWhereSql; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setConfigWhereSql(String configWhereSql) { | ||
| 45 | + this.configWhereSql = configWhereSql; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public Integer getCreateTime() { | ||
| 49 | + return createTime; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setCreateTime(Integer createTime) { | ||
| 53 | + this.createTime = createTime; | ||
| 54 | + } | ||
| 55 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.alarm; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description : 告警类型表 | ||
| 8 | + * @Date: Created in 10:57 2016/12/20 | ||
| 9 | + */ | ||
| 10 | +public class DeviceAlarmType extends BaseBean { | ||
| 11 | + private String alarmCode; //告警代码 | ||
| 12 | + private String alarmTypeName; //告警名字 | ||
| 13 | + private String alarmMethod; //告警解决方法 | ||
| 14 | + private String alarmType; //告警类型 | ||
| 15 | + | ||
| 16 | + public String getAlarmCode() { | ||
| 17 | + return alarmCode; | ||
| 18 | + } | ||
| 19 | + | ||
| 20 | + public void setAlarmCode(String alarmCode) { | ||
| 21 | + this.alarmCode = alarmCode; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public String getAlarmTypeName() { | ||
| 25 | + return alarmTypeName; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setAlarmTypeName(String alarmTypeName) { | ||
| 29 | + this.alarmTypeName = alarmTypeName; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getAlarmMethod() { | ||
| 33 | + return alarmMethod; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setAlarmMethod(String alarmMethod) { | ||
| 37 | + this.alarmMethod = alarmMethod; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getAlarmType() { | ||
| 41 | + return alarmType; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setAlarmType(String alarmType) { | ||
| 45 | + this.alarmType = alarmType; | ||
| 46 | + } | ||
| 47 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :告警开关状态配置 | ||
| 8 | + * @Date: Created in 13:54 2016/12/17 | ||
| 9 | + */ | ||
| 10 | +public class DeviceAlarmConfig extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer id; //主键id | ||
| 13 | + private String deviceInfoId; //设备信息表id | ||
| 14 | + private String alarmCode; //告警代码 | ||
| 15 | + private Integer isOpen; //告警开关(0打开,1关闭) | ||
| 16 | + private Integer intervalTime; //间隔时间 | ||
| 17 | + private String configWhereSql; //配置sql条件 | ||
| 18 | + private Integer createTime; //创建时间 | ||
| 19 | + | ||
| 20 | + public Integer getId() { | ||
| 21 | + return id; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public void setId(Integer id) { | ||
| 25 | + this.id = id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public String getDeviceInfoId() { | ||
| 29 | + return deviceInfoId; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public void setDeviceInfoId(String deviceInfoId) { | ||
| 33 | + this.deviceInfoId = deviceInfoId; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public String getAlarmCode() { | ||
| 37 | + return alarmCode; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public void setAlarmCode(String alarmCode) { | ||
| 41 | + this.alarmCode = alarmCode; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public Integer getIsOpen() { | ||
| 45 | + return isOpen; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public void setIsOpen(Integer isOpen) { | ||
| 49 | + this.isOpen = isOpen; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getIntervalTime() { | ||
| 53 | + return intervalTime; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public void setIntervalTime(Integer intervalTime) { | ||
| 57 | + this.intervalTime = intervalTime; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public String getConfigWhereSql() { | ||
| 61 | + return configWhereSql; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public void setConfigWhereSql(String configWhereSql) { | ||
| 65 | + this.configWhereSql = configWhereSql; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public Integer getCreateTime() { | ||
| 69 | + return createTime; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void setCreateTime(Integer createTime) { | ||
| 73 | + this.createTime = createTime; | ||
| 74 | + } | ||
| 75 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :301设备指令信息 | ||
| 8 | + * @Date: Created in 12:02 2016/12/17 | ||
| 9 | + */ | ||
| 10 | +public class DeviceCommand301 extends BaseBean { | ||
| 11 | + private String frameHead; //帧头 | ||
| 12 | + private String addressBits; //地址位 | ||
| 13 | + private String commandWord; //命令字 | ||
| 14 | + private String date; //数据 | ||
| 15 | + private String checkCode; //校验码 | ||
| 16 | + | ||
| 17 | + public String getHeadString() | ||
| 18 | + { | ||
| 19 | + return this.frameHead+this.addressBits+this.commandWord+this.date | ||
| 20 | + + calculationCheckCode(); | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + public String calculationCheckCode() | ||
| 24 | + { | ||
| 25 | + String str = this.addressBits+this.commandWord+this.date; | ||
| 26 | + char[] achar = str.toCharArray(); | ||
| 27 | + int toll= 0 ; | ||
| 28 | + for(int i=0;i<achar.length;i+=2) | ||
| 29 | + { | ||
| 30 | + toll += Integer.valueOf(achar[i]+""+achar[i+1],16); | ||
| 31 | + } | ||
| 32 | + str = Integer.toHexString(toll); | ||
| 33 | + if(str.length()<2) | ||
| 34 | + { | ||
| 35 | + str = "0"+str; | ||
| 36 | + }else{ | ||
| 37 | + str =str.substring(str.length()-2, str.length()); | ||
| 38 | + } | ||
| 39 | + return str; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + public DeviceCommand301() { | ||
| 44 | + super(); | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public DeviceCommand301(String frameHead, String addressBits, | ||
| 48 | + String commandWord, String date) { | ||
| 49 | + super(); | ||
| 50 | + this.frameHead = frameHead; | ||
| 51 | + this.addressBits = addressBits; | ||
| 52 | + this.commandWord = commandWord; | ||
| 53 | + this.date = date; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public String getFrameHead() { | ||
| 57 | + return frameHead; | ||
| 58 | + } | ||
| 59 | + public void setFrameHead(String frameHead) { | ||
| 60 | + this.frameHead = frameHead; | ||
| 61 | + } | ||
| 62 | + public String getAddressBits() { | ||
| 63 | + return addressBits; | ||
| 64 | + } | ||
| 65 | + public void setAddressBits(String addressBits) { | ||
| 66 | + this.addressBits = addressBits; | ||
| 67 | + } | ||
| 68 | + public String getCommandWord() { | ||
| 69 | + return commandWord; | ||
| 70 | + } | ||
| 71 | + public void setCommandWord(String commandWord) { | ||
| 72 | + this.commandWord = commandWord; | ||
| 73 | + } | ||
| 74 | + public String getDate() { | ||
| 75 | + return date; | ||
| 76 | + } | ||
| 77 | + public void setDate(String date) { | ||
| 78 | + this.date = date; | ||
| 79 | + } | ||
| 80 | + public String getCheckCode() { | ||
| 81 | + return checkCode; | ||
| 82 | + } | ||
| 83 | + public void setCheckCode(String checkCode) { | ||
| 84 | + this.checkCode = checkCode; | ||
| 85 | + } | ||
| 86 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :设备用电情况 | ||
| 8 | + * @Date: Created in 15:14 2016/12/20 | ||
| 9 | + */ | ||
| 10 | +public class DeviceElectricity extends BaseBean { | ||
| 11 | + | ||
| 12 | + private String deviceId; //主键设备ID(不含编号) | ||
| 13 | + private Integer updateTime; //更新时间 | ||
| 14 | + private Integer cityElectricityText; //市电检测(1-有市电) | ||
| 15 | + private Integer cityElectricityUse; //使用市电(1-使用市电) | ||
| 16 | + private Integer alternatorUser; //使用发电机(1-使用发电机) | ||
| 17 | + private Integer electricityGenerationText;//发电检测(1-发电) | ||
| 18 | + private Integer powerFailureAlarm; //停电报警(1-停电告警) | ||
| 19 | + | ||
| 20 | + public String getDeviceId() { | ||
| 21 | + return deviceId; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public void setDeviceId(String deviceId) { | ||
| 25 | + this.deviceId = deviceId; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public Integer getUpdateTime() { | ||
| 29 | + return updateTime; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public void setUpdateTime(Integer updateTime) { | ||
| 33 | + this.updateTime = updateTime; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public Integer getCityElectricityText() { | ||
| 37 | + return cityElectricityText; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public void setCityElectricityText(Integer cityElectricityText) { | ||
| 41 | + this.cityElectricityText = cityElectricityText; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public Integer getCityElectricityUse() { | ||
| 45 | + return cityElectricityUse; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public void setCityElectricityUse(Integer cityElectricityUse) { | ||
| 49 | + this.cityElectricityUse = cityElectricityUse; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getAlternatorUser() { | ||
| 53 | + return alternatorUser; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public void setAlternatorUser(Integer alternatorUser) { | ||
| 57 | + this.alternatorUser = alternatorUser; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public Integer getElectricityGenerationText() { | ||
| 61 | + return electricityGenerationText; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public void setElectricityGenerationText(Integer electricityGenerationText) { | ||
| 65 | + this.electricityGenerationText = electricityGenerationText; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public Integer getPowerFailureAlarm() { | ||
| 69 | + return powerFailureAlarm; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void setPowerFailureAlarm(Integer powerFailureAlarm) { | ||
| 73 | + this.powerFailureAlarm = powerFailureAlarm; | ||
| 74 | + } | ||
| 75 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/device/DeviceInfo.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * @Author: fuchao | ||
| 8 | + * @Description :设备信息表 | ||
| 9 | + * @Date: Created in 22:05 2016/12/7 | ||
| 10 | + */ | ||
| 11 | +public class DeviceInfo extends BaseBean { | ||
| 12 | + | ||
| 13 | + private String id; //设备主键ID(设备IMEI号加编号) | ||
| 14 | + private String deviceName; //设备名称 | ||
| 15 | + private Integer userId; //用户ID | ||
| 16 | + private String userLoginName; //用户登录名 | ||
| 17 | + private Integer baseId; //主塘口ID | ||
| 18 | + private String baseName; //主口名称 | ||
| 19 | + private Integer pondType; //塘口类型(0-外塘,1-水槽) | ||
| 20 | + private Integer pondId; //水槽或外塘ID | ||
| 21 | + private String pondName; //水槽或外塘名称 | ||
| 22 | + private String deviceType; //设备类型(PLC_001,YU2LE_301) | ||
| 23 | + private Integer deviceTerminalTypeKey; //终端类型(0-排污,1-投饵,2-增氧,3-鱼儿乐,4-曝气,5-水流计量) | ||
| 24 | + private String deviceTerminalType; //终端名称 | ||
| 25 | + private String dataValue; //数据值(json字符串) | ||
| 26 | + private String alarmCode; //告警代码(正常-00) | ||
| 27 | + private Integer alarmTime; //告警时间 | ||
| 28 | + private String online; //设备在线状态(00-不在线,01-在线) | ||
| 29 | + private Integer updateTime; //更新时间 | ||
| 30 | + private String deviceServiceIp; //设备服务器IP | ||
| 31 | + private Integer createTime; //创建时间 | ||
| 32 | + private String remark; //备注 | ||
| 33 | + | ||
| 34 | + public String getId() { | ||
| 35 | + return id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setId(String id) { | ||
| 39 | + this.id = id; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getDeviceName() { | ||
| 43 | + return deviceName; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setDeviceName(String deviceName) { | ||
| 47 | + this.deviceName = deviceName; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public Integer getUserId() { | ||
| 51 | + return userId; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setUserId(Integer userId) { | ||
| 55 | + this.userId = userId; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getUserLoginName() { | ||
| 59 | + return userLoginName; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setUserLoginName(String userLoginName) { | ||
| 63 | + this.userLoginName = userLoginName; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public Integer getBaseId() { | ||
| 67 | + return baseId; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setBaseId(Integer baseId) { | ||
| 71 | + this.baseId = baseId; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getBaseName() { | ||
| 75 | + return baseName; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setBaseName(String baseName) { | ||
| 79 | + this.baseName = baseName; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public Integer getPondType() { | ||
| 83 | + return pondType; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setPondType(Integer pondType) { | ||
| 87 | + this.pondType = pondType; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public Integer getPondId() { | ||
| 91 | + return pondId; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setPondId(Integer pondId) { | ||
| 95 | + this.pondId = pondId; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getPondName() { | ||
| 99 | + return pondName; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setPondName(String pondName) { | ||
| 103 | + this.pondName = pondName; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getDeviceType() { | ||
| 107 | + return deviceType; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setDeviceType(String deviceType) { | ||
| 111 | + this.deviceType = deviceType; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public Integer getDeviceTerminalTypeKey() { | ||
| 115 | + return deviceTerminalTypeKey; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setDeviceTerminalTypeKey(Integer deviceTerminalTypeKey) { | ||
| 119 | + this.deviceTerminalTypeKey = deviceTerminalTypeKey; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public String getDeviceTerminalType() { | ||
| 123 | + return deviceTerminalType; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setDeviceTerminalType(String deviceTerminalType) { | ||
| 127 | + this.deviceTerminalType = deviceTerminalType; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public String getDataValue() { | ||
| 131 | + return dataValue; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setDataValue(String dataValue) { | ||
| 135 | + this.dataValue = dataValue; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public String getAlarmCode() { | ||
| 139 | + return alarmCode; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public void setAlarmCode(String alarmCode) { | ||
| 143 | + this.alarmCode = alarmCode; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public String getOnline() { | ||
| 147 | + return online; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public void setOnline(String online) { | ||
| 151 | + this.online = online; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public Integer getUpdateTime() { | ||
| 155 | + return updateTime; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public void setUpdateTime(Integer updateTime) { | ||
| 159 | + this.updateTime = updateTime; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public String getDeviceServiceIp() { | ||
| 163 | + return deviceServiceIp; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public void setDeviceServiceIp(String deviceServiceIp) { | ||
| 167 | + this.deviceServiceIp = deviceServiceIp; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public Integer getCreateTime() { | ||
| 171 | + return createTime; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + public void setCreateTime(Integer createTime) { | ||
| 175 | + this.createTime = createTime; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + public String getRemark() { | ||
| 179 | + return remark; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public void setRemark(String remark) { | ||
| 183 | + this.remark = remark; | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + public Integer getAlarmTime() { | ||
| 187 | + return alarmTime; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + public void setAlarmTime(Integer alarmTime) { | ||
| 191 | + this.alarmTime = alarmTime; | ||
| 192 | + } | ||
| 193 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/device/DeviceLoop.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * PLC设备循环 | ||
| 7 | + * Created by Administrator on 2017/3/13. | ||
| 8 | + */ | ||
| 9 | +public class DeviceLoop extends BaseBean { | ||
| 10 | + | ||
| 11 | + private String deviceInfoId;//设备信息表id | ||
| 12 | + private Integer openTime;//开启时间(单位分钟) | ||
| 13 | + private Integer stopTime;//停止时间(单位分钟) | ||
| 14 | + private Integer state;//状态(0-有效,1-无效) | ||
| 15 | + private Integer createTime;//创建时间 | ||
| 16 | + | ||
| 17 | + public String getDeviceInfoId() { | ||
| 18 | + return deviceInfoId; | ||
| 19 | + } | ||
| 20 | + | ||
| 21 | + public void setDeviceInfoId(String deviceInfoId) { | ||
| 22 | + this.deviceInfoId = deviceInfoId; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public Integer getOpenTime() { | ||
| 26 | + return openTime; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public void setOpenTime(Integer openTime) { | ||
| 30 | + this.openTime = openTime; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public Integer getStopTime() { | ||
| 34 | + return stopTime; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public void setStopTime(Integer stopTime) { | ||
| 38 | + this.stopTime = stopTime; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public Integer getState() { | ||
| 42 | + return state; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public void setState(Integer state) { | ||
| 46 | + this.state = state; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public Integer getCreateTime() { | ||
| 50 | + return createTime; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public void setCreateTime(Integer createTime) { | ||
| 54 | + this.createTime = createTime; | ||
| 55 | + } | ||
| 56 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/device/DeviceParam.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +/** | ||
| 4 | + * 设备参数信息 数据实体 | ||
| 5 | + */ | ||
| 6 | +public class DeviceParam { | ||
| 7 | + private String deviceInfoId;//设备信息表id | ||
| 8 | + private String pumpCurrent;//水泵电流 | ||
| 9 | + private String leakageCurrent;//L泄露电流 | ||
| 10 | + private String magnification;//放大倍数 | ||
| 11 | + private String sensorSensitivity;//传感器灵敏度 | ||
| 12 | + private String sensorAccuracy;//传感器准确度 | ||
| 13 | + private Integer createTime;//添加时间 | ||
| 14 | + public String getDeviceInfoId() { | ||
| 15 | + return deviceInfoId; | ||
| 16 | + } | ||
| 17 | + public void setDeviceInfoId(String deviceInfoId) { | ||
| 18 | + this.deviceInfoId = deviceInfoId; | ||
| 19 | + } | ||
| 20 | + public String getPumpCurrent() { | ||
| 21 | + return pumpCurrent; | ||
| 22 | + } | ||
| 23 | + public void setPumpCurrent(String pumpCurrent) { | ||
| 24 | + this.pumpCurrent = pumpCurrent; | ||
| 25 | + } | ||
| 26 | + public String getLeakageCurrent() { | ||
| 27 | + return leakageCurrent; | ||
| 28 | + } | ||
| 29 | + public void setLeakageCurrent(String leakageCurrent) { | ||
| 30 | + this.leakageCurrent = leakageCurrent; | ||
| 31 | + } | ||
| 32 | + public String getMagnification() { | ||
| 33 | + return magnification; | ||
| 34 | + } | ||
| 35 | + public void setMagnification(String magnification) { | ||
| 36 | + this.magnification = magnification; | ||
| 37 | + } | ||
| 38 | + public String getSensorSensitivity() { | ||
| 39 | + return sensorSensitivity; | ||
| 40 | + } | ||
| 41 | + public void setSensorSensitivity(String sensorSensitivity) { | ||
| 42 | + this.sensorSensitivity = sensorSensitivity; | ||
| 43 | + } | ||
| 44 | + public String getSensorAccuracy() { | ||
| 45 | + return sensorAccuracy; | ||
| 46 | + } | ||
| 47 | + public void setSensorAccuracy(String sensorAccuracy) { | ||
| 48 | + this.sensorAccuracy = sensorAccuracy; | ||
| 49 | + } | ||
| 50 | + public Integer getCreateTime() { | ||
| 51 | + return createTime; | ||
| 52 | + } | ||
| 53 | + public void setCreateTime(Integer createTime) { | ||
| 54 | + this.createTime = createTime; | ||
| 55 | + } | ||
| 56 | + public DeviceParam(String deviceInfoId, String pumpCurrent, String leakageCurrent, String magnification, | ||
| 57 | + String sensorSensitivity, String sensorAccuracy, Integer createTime) { | ||
| 58 | + super(); | ||
| 59 | + this.deviceInfoId = deviceInfoId; | ||
| 60 | + this.pumpCurrent = pumpCurrent; | ||
| 61 | + this.leakageCurrent = leakageCurrent; | ||
| 62 | + this.magnification = magnification; | ||
| 63 | + this.sensorSensitivity = sensorSensitivity; | ||
| 64 | + this.sensorAccuracy = sensorAccuracy; | ||
| 65 | + this.createTime = createTime; | ||
| 66 | + } | ||
| 67 | + public DeviceParam() { | ||
| 68 | + super(); | ||
| 69 | + // TODO Auto-generated constructor stub | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description : | ||
| 8 | + * @Date: Created in 11:06 2016/12/17 | ||
| 9 | + */ | ||
| 10 | +public class DeviceParameterConfig extends BaseBean { | ||
| 11 | + private Integer userId; //用户id | ||
| 12 | + private String userLonginName; //用户名 | ||
| 13 | + private Integer pondId; //塘口id | ||
| 14 | + private String deviceInfoId; //设备信息表id | ||
| 15 | + private Integer creatTime; //创建时间 | ||
| 16 | + private String oxygenHighLimit; //溶氧高限 | ||
| 17 | + private String oxygenLowLimit; //溶氧低限 | ||
| 18 | + private String oxygenCeiling; //溶氧上限 | ||
| 19 | + private String salinity; //盐度 | ||
| 20 | + private Integer alarmLevel; //报警级别(设备) | ||
| 21 | + private String noonOxygenatingStart;//午间补氧开始(时 分) | ||
| 22 | + private String noonOxygenatingEnd; //午间补氧结束(时 分) | ||
| 23 | + private String nightOxygenatingStart;//夜间补氧开始(时 分) | ||
| 24 | + private String nightOxygenatingEnd; //夜间补氧结束(时 分) | ||
| 25 | + private String oxygenLow2; //氧下限二 5-下限 | ||
| 26 | + private String oxygenLowWarn; //氧报警限 5-下限 | ||
| 27 | + private String oxygenSwitch; //补氧开关 | ||
| 28 | + private String fouceSwitch; //强开开关 | ||
| 29 | + private String pumpElectricity; //水泵电流 | ||
| 30 | + private String leakElectricity; //泄漏电流 | ||
| 31 | + private String enlargementFactor; //放大倍数 | ||
| 32 | + private String spl; //灵敏度 | ||
| 33 | + private String accuracy; //准确度 | ||
| 34 | + private String voltage; //电压 | ||
| 35 | + private String temperatureCeiling; //温度上限 | ||
| 36 | + private String temperatureLimit; //温度下限 | ||
| 37 | + | ||
| 38 | + public Integer getUserId() { | ||
| 39 | + return userId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setUserId(Integer userId) { | ||
| 43 | + this.userId = userId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public String getUserLonginName() { | ||
| 47 | + return userLonginName; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setUserLonginName(String userLonginName) { | ||
| 51 | + this.userLonginName = userLonginName; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public Integer getPondId() { | ||
| 55 | + return pondId; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setPondId(Integer pondId) { | ||
| 59 | + this.pondId = pondId; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getDeviceInfoId() { | ||
| 63 | + return deviceInfoId; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setDeviceInfoId(String deviceInfoId) { | ||
| 67 | + this.deviceInfoId = deviceInfoId; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public Integer getCreatTime() { | ||
| 71 | + return creatTime; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setCreatTime(Integer creatTime) { | ||
| 75 | + this.creatTime = creatTime; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public String getOxygenHighLimit() { | ||
| 79 | + return oxygenHighLimit; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setOxygenHighLimit(String oxygenHighLimit) { | ||
| 83 | + this.oxygenHighLimit = oxygenHighLimit; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public String getOxygenLowLimit() { | ||
| 87 | + return oxygenLowLimit; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setOxygenLowLimit(String oxygenLowLimit) { | ||
| 91 | + this.oxygenLowLimit = oxygenLowLimit; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public String getOxygenCeiling() { | ||
| 95 | + return oxygenCeiling; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setOxygenCeiling(String oxygenCeiling) { | ||
| 99 | + this.oxygenCeiling = oxygenCeiling; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public String getSalinity() { | ||
| 103 | + return salinity; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public void setSalinity(String salinity) { | ||
| 107 | + this.salinity = salinity; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public Integer getAlarmLevel() { | ||
| 111 | + return alarmLevel; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public void setAlarmLevel(Integer alarmLevel) { | ||
| 115 | + this.alarmLevel = alarmLevel; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public String getNoonOxygenatingStart() { | ||
| 119 | + return noonOxygenatingStart; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public void setNoonOxygenatingStart(String noonOxygenatingStart) { | ||
| 123 | + this.noonOxygenatingStart = noonOxygenatingStart; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public String getNoonOxygenatingEnd() { | ||
| 127 | + return noonOxygenatingEnd; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public void setNoonOxygenatingEnd(String noonOxygenatingEnd) { | ||
| 131 | + this.noonOxygenatingEnd = noonOxygenatingEnd; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public String getNightOxygenatingStart() { | ||
| 135 | + return nightOxygenatingStart; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public void setNightOxygenatingStart(String nightOxygenatingStart) { | ||
| 139 | + this.nightOxygenatingStart = nightOxygenatingStart; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public String getNightOxygenatingEnd() { | ||
| 143 | + return nightOxygenatingEnd; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public void setNightOxygenatingEnd(String nightOxygenatingEnd) { | ||
| 147 | + this.nightOxygenatingEnd = nightOxygenatingEnd; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public String getOxygenLow2() { | ||
| 151 | + return oxygenLow2; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public void setOxygenLow2(String oxygenLow2) { | ||
| 155 | + this.oxygenLow2 = oxygenLow2; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public String getOxygenLowWarn() { | ||
| 159 | + return oxygenLowWarn; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public void setOxygenLowWarn(String oxygenLowWarn) { | ||
| 163 | + this.oxygenLowWarn = oxygenLowWarn; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public String getOxygenSwitch() { | ||
| 167 | + return oxygenSwitch; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public void setOxygenSwitch(String oxygenSwitch) { | ||
| 171 | + this.oxygenSwitch = oxygenSwitch; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + public String getFouceSwitch() { | ||
| 175 | + return fouceSwitch; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + public void setFouceSwitch(String fouceSwitch) { | ||
| 179 | + this.fouceSwitch = fouceSwitch; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public String getPumpElectricity() { | ||
| 183 | + return pumpElectricity; | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + public void setPumpElectricity(String pumpElectricity) { | ||
| 187 | + this.pumpElectricity = pumpElectricity; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + public String getLeakElectricity() { | ||
| 191 | + return leakElectricity; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + public void setLeakElectricity(String leakElectricity) { | ||
| 195 | + this.leakElectricity = leakElectricity; | ||
| 196 | + } | ||
| 197 | + | ||
| 198 | + public String getEnlargementFactor() { | ||
| 199 | + return enlargementFactor; | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | + public void setEnlargementFactor(String enlargementFactor) { | ||
| 203 | + this.enlargementFactor = enlargementFactor; | ||
| 204 | + } | ||
| 205 | + | ||
| 206 | + public String getSpl() { | ||
| 207 | + return spl; | ||
| 208 | + } | ||
| 209 | + | ||
| 210 | + public void setSpl(String spl) { | ||
| 211 | + this.spl = spl; | ||
| 212 | + } | ||
| 213 | + | ||
| 214 | + public String getAccuracy() { | ||
| 215 | + return accuracy; | ||
| 216 | + } | ||
| 217 | + | ||
| 218 | + public void setAccuracy(String accuracy) { | ||
| 219 | + this.accuracy = accuracy; | ||
| 220 | + } | ||
| 221 | + | ||
| 222 | + public String getVoltage() { | ||
| 223 | + return voltage; | ||
| 224 | + } | ||
| 225 | + | ||
| 226 | + public void setVoltage(String voltage) { | ||
| 227 | + this.voltage = voltage; | ||
| 228 | + } | ||
| 229 | + | ||
| 230 | + public String getTemperatureCeiling() { | ||
| 231 | + return temperatureCeiling; | ||
| 232 | + } | ||
| 233 | + | ||
| 234 | + public void setTemperatureCeiling(String temperatureCeiling) { | ||
| 235 | + this.temperatureCeiling = temperatureCeiling; | ||
| 236 | + } | ||
| 237 | + | ||
| 238 | + public String getTemperatureLimit() { | ||
| 239 | + return temperatureLimit; | ||
| 240 | + } | ||
| 241 | + | ||
| 242 | + public void setTemperatureLimit(String temperatureLimit) { | ||
| 243 | + this.temperatureLimit = temperatureLimit; | ||
| 244 | + } | ||
| 245 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/device/DeviceTimer.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * PLC 开关定时器 | ||
| 7 | + * Created by Administrator on 2017/2/6. | ||
| 8 | + */ | ||
| 9 | +public class DeviceTimer extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键id | ||
| 12 | + private String imei; //IMEI号 | ||
| 13 | + private String number; //编号(多个用|分开) | ||
| 14 | + private String deviceName; //设备名称(多个用|分开) | ||
| 15 | + private Integer serialNumber; //控制序号 | ||
| 16 | + private Integer baseId; //基地id | ||
| 17 | + private String baseName; //基地名称 | ||
| 18 | + private Integer userId; //用户id | ||
| 19 | + private String userLogin; //用户登录名 | ||
| 20 | + private Integer startTime; //开始时间 | ||
| 21 | + private Integer endTime; //结束时间 | ||
| 22 | + private Integer createTime; //创建时间 | ||
| 23 | + | ||
| 24 | + public Integer getId() { | ||
| 25 | + return id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setId(Integer id) { | ||
| 29 | + this.id = id; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public String getImei() { | ||
| 33 | + return imei; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setImei(String imei) { | ||
| 37 | + this.imei = imei; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public String getNumber() { | ||
| 41 | + return number; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public void setNumber(String number) { | ||
| 45 | + this.number = number; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public String getDeviceName() { | ||
| 49 | + return deviceName; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public void setDeviceName(String deviceName) { | ||
| 53 | + this.deviceName = deviceName; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public Integer getStartTime() { | ||
| 57 | + return startTime; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setStartTime(Integer startTime) { | ||
| 61 | + this.startTime = startTime; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public Integer getEndTime() { | ||
| 65 | + return endTime; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setEndTime(Integer endTime) { | ||
| 69 | + this.endTime = endTime; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public Integer getCreateTime() { | ||
| 73 | + return createTime; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setCreateTime(Integer createTime) { | ||
| 77 | + this.createTime = createTime; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public Integer getUserId() { | ||
| 81 | + return userId; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setUserId(Integer userId) { | ||
| 85 | + this.userId = userId; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getUserLogin() { | ||
| 89 | + return userLogin; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public void setUserLogin(String userLogin) { | ||
| 93 | + this.userLogin = userLogin; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public Integer getBaseId() { | ||
| 97 | + return baseId; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public void setBaseId(Integer baseId) { | ||
| 101 | + this.baseId = baseId; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + public String getBaseName() { | ||
| 105 | + return baseName; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public void setBaseName(String baseName) { | ||
| 109 | + this.baseName = baseName; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public Integer getSerialNumber() { | ||
| 113 | + return serialNumber; | ||
| 114 | + } | ||
| 115 | + | ||
| 116 | + public void setSerialNumber(Integer serialNumber) { | ||
| 117 | + this.serialNumber = serialNumber; | ||
| 118 | + } | ||
| 119 | +} | ||
| 120 | + | ||
| 121 | + |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 电耗统计 | ||
| 8 | + * @author Administrator | ||
| 9 | + */ | ||
| 10 | +public class DeviceWorkTime extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer id;//主键id | ||
| 13 | + private String deviceId;//设备信息表id | ||
| 14 | + private Integer jannury;//一月(单位:分钟) | ||
| 15 | + private Integer february;//二月(单位:分钟) | ||
| 16 | + private Integer march;//三月(单位:分钟) | ||
| 17 | + private Integer april;//四月(单位:分钟) | ||
| 18 | + private Integer may;//五月(单位:分钟) | ||
| 19 | + private Integer june;//六月(单位:分钟) | ||
| 20 | + private Integer july;//七月(单位:分钟) | ||
| 21 | + private Integer august;//八月(单位:分钟) | ||
| 22 | + private Integer september;//九月(单位:分钟) | ||
| 23 | + private Integer october;//十月(单位:分钟) | ||
| 24 | + private Integer november;//十一月(单位:分钟) | ||
| 25 | + private Integer december;//十二月(单位:分钟) | ||
| 26 | + private Integer year;//年(单位:分钟) | ||
| 27 | + private Integer years;//年分 | ||
| 28 | + | ||
| 29 | + public Integer getId() { | ||
| 30 | + return id; | ||
| 31 | + } | ||
| 32 | + public void setId(Integer id) { | ||
| 33 | + this.id = id; | ||
| 34 | + } | ||
| 35 | + public String getDeviceId() { | ||
| 36 | + return deviceId; | ||
| 37 | + } | ||
| 38 | + public void setDeviceId(String deviceId) { | ||
| 39 | + this.deviceId = deviceId; | ||
| 40 | + } | ||
| 41 | + public Integer getJannury() { | ||
| 42 | + return jannury; | ||
| 43 | + } | ||
| 44 | + public void setJannury(Integer jannury) { | ||
| 45 | + this.jannury = jannury; | ||
| 46 | + } | ||
| 47 | + public Integer getFebruary() { | ||
| 48 | + return february; | ||
| 49 | + } | ||
| 50 | + public void setFebruary(Integer february) { | ||
| 51 | + this.february = february; | ||
| 52 | + } | ||
| 53 | + public Integer getMarch() { | ||
| 54 | + return march; | ||
| 55 | + } | ||
| 56 | + public void setMarch(Integer march) { | ||
| 57 | + this.march = march; | ||
| 58 | + } | ||
| 59 | + public Integer getApril() { | ||
| 60 | + return april; | ||
| 61 | + } | ||
| 62 | + public void setApril(Integer april) { | ||
| 63 | + this.april = april; | ||
| 64 | + } | ||
| 65 | + public Integer getMay() { | ||
| 66 | + return may; | ||
| 67 | + } | ||
| 68 | + public void setMay(Integer may) { | ||
| 69 | + this.may = may; | ||
| 70 | + } | ||
| 71 | + public Integer getJune() { | ||
| 72 | + return june; | ||
| 73 | + } | ||
| 74 | + public void setJune(Integer june) { | ||
| 75 | + this.june = june; | ||
| 76 | + } | ||
| 77 | + public Integer getJuly() { | ||
| 78 | + return july; | ||
| 79 | + } | ||
| 80 | + public void setJuly(Integer july) { | ||
| 81 | + this.july = july; | ||
| 82 | + } | ||
| 83 | + public Integer getAugust() { | ||
| 84 | + return august; | ||
| 85 | + } | ||
| 86 | + public void setAugust(Integer august) { | ||
| 87 | + this.august = august; | ||
| 88 | + } | ||
| 89 | + public Integer getSeptember() { | ||
| 90 | + return september; | ||
| 91 | + } | ||
| 92 | + public void setSeptember(Integer september) { | ||
| 93 | + this.september = september; | ||
| 94 | + } | ||
| 95 | + public Integer getOctober() { | ||
| 96 | + return october; | ||
| 97 | + } | ||
| 98 | + public void setOctober(Integer october) { | ||
| 99 | + this.october = october; | ||
| 100 | + } | ||
| 101 | + public Integer getNovember() { | ||
| 102 | + return november; | ||
| 103 | + } | ||
| 104 | + public void setNovember(Integer november) { | ||
| 105 | + this.november = november; | ||
| 106 | + } | ||
| 107 | + public Integer getDecember() { | ||
| 108 | + return december; | ||
| 109 | + } | ||
| 110 | + public void setDecember(Integer december) { | ||
| 111 | + this.december = december; | ||
| 112 | + } | ||
| 113 | + public Integer getYear() { | ||
| 114 | + return year; | ||
| 115 | + } | ||
| 116 | + public void setYear(Integer year) { | ||
| 117 | + this.year = year; | ||
| 118 | + } | ||
| 119 | + public Integer getYears() { | ||
| 120 | + return years; | ||
| 121 | + } | ||
| 122 | + public void setYears(Integer years) { | ||
| 123 | + this.years = years; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :设备操作日志记录表 | ||
| 8 | + * @Date: Created in 16:57 2016/12/27 | ||
| 9 | + */ | ||
| 10 | +public class LogDeviceOperation extends BaseBean { | ||
| 11 | + private Integer deviceOperationId; //设备操作日志id | ||
| 12 | + private String deviceId; //设备id | ||
| 13 | + private Integer deviceOperationTime; //设备操作时间 | ||
| 14 | + private String operationInstruction; //设备操作指令 | ||
| 15 | + private String operationDescribe; //设备操作描述 | ||
| 16 | + private String deviceOldState; //设备操作前状态 | ||
| 17 | + private String deviceNewState; //设备操作后的状态 | ||
| 18 | + private String deviceOperationType; //设备操作类型 | ||
| 19 | + private String sensorOrController; //传感器或控制器编号(控制器以00_开头) | ||
| 20 | + private Integer isStateChange; //是否有状态改变(0否,1是) | ||
| 21 | + | ||
| 22 | + public Integer getDeviceOperationId() { | ||
| 23 | + return deviceOperationId; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public void setDeviceOperationId(Integer deviceOperationId) { | ||
| 27 | + this.deviceOperationId = deviceOperationId; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public String getDeviceId() { | ||
| 31 | + return deviceId; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setDeviceId(String deviceId) { | ||
| 35 | + this.deviceId = deviceId; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public Integer getDeviceOperationTime() { | ||
| 39 | + return deviceOperationTime; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setDeviceOperationTime(Integer deviceOperationTime) { | ||
| 43 | + this.deviceOperationTime = deviceOperationTime; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public String getOperationInstruction() { | ||
| 47 | + return operationInstruction; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setOperationInstruction(String operationInstruction) { | ||
| 51 | + this.operationInstruction = operationInstruction; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public String getOperationDescribe() { | ||
| 55 | + return operationDescribe; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setOperationDescribe(String operationDescribe) { | ||
| 59 | + this.operationDescribe = operationDescribe; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getDeviceOldState() { | ||
| 63 | + return deviceOldState; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setDeviceOldState(String deviceOldState) { | ||
| 67 | + this.deviceOldState = deviceOldState; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public String getDeviceNewState() { | ||
| 71 | + return deviceNewState; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setDeviceNewState(String deviceNewState) { | ||
| 75 | + this.deviceNewState = deviceNewState; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public String getDeviceOperationType() { | ||
| 79 | + return deviceOperationType; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setDeviceOperationType(String deviceOperationType) { | ||
| 83 | + this.deviceOperationType = deviceOperationType; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public String getSensorOrController() { | ||
| 87 | + return sensorOrController; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setSensorOrController(String sensorOrController) { | ||
| 91 | + this.sensorOrController = sensorOrController; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public Integer getIsStateChange() { | ||
| 95 | + return isStateChange; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setIsStateChange(Integer isStateChange) { | ||
| 99 | + this.isStateChange = isStateChange; | ||
| 100 | + } | ||
| 101 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :用户摄像头设备信息表 | ||
| 8 | + * @Date: Created in 10:43 2016/12/22 | ||
| 9 | + */ | ||
| 10 | +public class UserCameraDevice extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer id; //主键id | ||
| 13 | + private Integer userId; //用户id | ||
| 14 | + private String userLoginName; //用户登录 | ||
| 15 | + private Integer pondId; //塘口id | ||
| 16 | + private String pondName; //塘口名称 | ||
| 17 | + private String cameraName; //摄像头名称 | ||
| 18 | + private String cameraModel; //摄像头型号 | ||
| 19 | + private String cameraPower; //摄像头电源 | ||
| 20 | + private String cameraVerificationCode; //摄像头验证码 | ||
| 21 | + private String cameraProductStandards; //摄像头产品执行标准 | ||
| 22 | + private String cameeraSerialNumber; //摄像头序列号 | ||
| 23 | + private String cameeraQrCode; //摄像头二维码 | ||
| 24 | + private Integer createTime; //创建时间 | ||
| 25 | + private Integer usedTime; //使用时间 | ||
| 26 | + | ||
| 27 | + public Integer getId() { | ||
| 28 | + return id; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public void setId(Integer id) { | ||
| 32 | + this.id = id; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public Integer getUserId() { | ||
| 36 | + return userId; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public void setUserId(Integer userId) { | ||
| 40 | + this.userId = userId; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public String getUserLoginName() { | ||
| 44 | + return userLoginName; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void setUserLoginName(String userLoginName) { | ||
| 48 | + this.userLoginName = userLoginName; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public Integer getPondId() { | ||
| 52 | + return pondId; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public void setPondId(Integer pondId) { | ||
| 56 | + this.pondId = pondId; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public String getPondName() { | ||
| 60 | + return pondName; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public void setPondName(String pondName) { | ||
| 64 | + this.pondName = pondName; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public String getCameraName() { | ||
| 68 | + return cameraName; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public void setCameraName(String cameraName) { | ||
| 72 | + this.cameraName = cameraName; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getCameraModel() { | ||
| 76 | + return cameraModel; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public void setCameraModel(String cameraModel) { | ||
| 80 | + this.cameraModel = cameraModel; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public String getCameraPower() { | ||
| 84 | + return cameraPower; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public void setCameraPower(String cameraPower) { | ||
| 88 | + this.cameraPower = cameraPower; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public String getCameraVerificationCode() { | ||
| 92 | + return cameraVerificationCode; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public void setCameraVerificationCode(String cameraVerificationCode) { | ||
| 96 | + this.cameraVerificationCode = cameraVerificationCode; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public String getCameraProductStandards() { | ||
| 100 | + return cameraProductStandards; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public void setCameraProductStandards(String cameraProductStandards) { | ||
| 104 | + this.cameraProductStandards = cameraProductStandards; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public String getCameeraSerialNumber() { | ||
| 108 | + return cameeraSerialNumber; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public void setCameeraSerialNumber(String cameeraSerialNumber) { | ||
| 112 | + this.cameeraSerialNumber = cameeraSerialNumber; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public String getCameeraQrCode() { | ||
| 116 | + return cameeraQrCode; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public void setCameeraQrCode(String cameeraQrCode) { | ||
| 120 | + this.cameeraQrCode = cameeraQrCode; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public Integer getCreateTime() { | ||
| 124 | + return createTime; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public void setCreateTime(Integer createTime) { | ||
| 128 | + this.createTime = createTime; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public Integer getUsedTime() { | ||
| 132 | + return usedTime; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public void setUsedTime(Integer usedTime) { | ||
| 136 | + this.usedTime = usedTime; | ||
| 137 | + } | ||
| 138 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 摄像头信息 | ||
| 7 | + * Created by Administrator on 2017/1/14. | ||
| 8 | + */ | ||
| 9 | +public class UserCameraInfo extends BaseBean { | ||
| 10 | + private String deviceSerial; //设备序列号 | ||
| 11 | + private String channelNo; //通道号 | ||
| 12 | + private String channelName; //通道名 | ||
| 13 | + private Integer status; //在线状态:1-在线,2-不在线 | ||
| 14 | + private String isShared; //分享状态:1-分享所有者,0-未分享,2-分享接受者(表示此摄像头是别人分享给我的) | ||
| 15 | + private String picUrl; //图片地址(大图),若在萤石客户端设置封面则返回封面图片,未设置则返回默认图片 | ||
| 16 | + private Integer isEncrypt; //是否加密,0:不加密,1:加密 | ||
| 17 | + private Integer videoLevel; //视频质量:0-流畅,1-均衡,2-高清,3-超清 | ||
| 18 | + | ||
| 19 | + public String getDeviceSerial() { | ||
| 20 | + return deviceSerial; | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + public void setDeviceSerial(String deviceSerial) { | ||
| 24 | + this.deviceSerial = deviceSerial; | ||
| 25 | + } | ||
| 26 | + | ||
| 27 | + public String getChannelNo() { | ||
| 28 | + return channelNo; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public void setChannelNo(String channelNo) { | ||
| 32 | + this.channelNo = channelNo; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public String getChannelName() { | ||
| 36 | + return channelName; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public void setChannelName(String channelName) { | ||
| 40 | + this.channelName = channelName; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public Integer getStatus() { | ||
| 44 | + return status; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void setStatus(Integer status) { | ||
| 48 | + this.status = status; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public String getIsShared() { | ||
| 52 | + return isShared; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public void setIsShared(String isShared) { | ||
| 56 | + this.isShared = isShared; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public String getPicUrl() { | ||
| 60 | + return picUrl; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public void setPicUrl(String picUrl) { | ||
| 64 | + this.picUrl = picUrl; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public Integer getIsEncrypt() { | ||
| 68 | + return isEncrypt; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public void setIsEncrypt(Integer isEncrypt) { | ||
| 72 | + this.isEncrypt = isEncrypt; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public Integer getVideoLevel() { | ||
| 76 | + return videoLevel; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public void setVideoLevel(Integer videoLevel) { | ||
| 80 | + this.videoLevel = videoLevel; | ||
| 81 | + } | ||
| 82 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :摄像头流量表 | ||
| 8 | + * @Date: Created in 10:45 2016/12/22 | ||
| 9 | + */ | ||
| 10 | +public class UserCameraRecharge extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer id; //主键id | ||
| 13 | + private Integer userId; //用户id | ||
| 14 | + private String userLoginName; //用户登录名 | ||
| 15 | + private String rechargeFlow; //充值流量 | ||
| 16 | + private Integer expirationTime; //到期时间 | ||
| 17 | + private String usedFlow; //使用流量 | ||
| 18 | + private String residueFlow; //剩余流量 | ||
| 19 | + | ||
| 20 | + public Integer getId() { | ||
| 21 | + return id; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public void setId(Integer id) { | ||
| 25 | + this.id = id; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public Integer getUserId() { | ||
| 29 | + return userId; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public void setUserId(Integer userId) { | ||
| 33 | + this.userId = userId; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public String getUserLoginName() { | ||
| 37 | + return userLoginName; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public void setUserLoginName(String userLoginName) { | ||
| 41 | + this.userLoginName = userLoginName; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public String getRechargeFlow() { | ||
| 45 | + return rechargeFlow; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + public void setRechargeFlow(String rechargeFlow) { | ||
| 49 | + this.rechargeFlow = rechargeFlow; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getExpirationTime() { | ||
| 53 | + return expirationTime; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public void setExpirationTime(Integer expirationTime) { | ||
| 57 | + this.expirationTime = expirationTime; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public String getUsedFlow() { | ||
| 61 | + return usedFlow; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public void setUsedFlow(String usedFlow) { | ||
| 65 | + this.usedFlow = usedFlow; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public String getResidueFlow() { | ||
| 69 | + return residueFlow; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public void setResidueFlow(String residueFlow) { | ||
| 73 | + this.residueFlow = residueFlow; | ||
| 74 | + } | ||
| 75 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.device; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 摄像头流量充值记录表 | ||
| 7 | + * Created by Administrator on 2017/1/14. | ||
| 8 | + */ | ||
| 9 | +public class UserCameraRechargeLog extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键id | ||
| 12 | + private Integer userId; //用户id | ||
| 13 | + private String userLoginName; //用户登录名 | ||
| 14 | + private String rechargeAmount; //充值金额 | ||
| 15 | + private String rechargeFlow; //充值流量 | ||
| 16 | + private Integer rechargeDays; //充值天数(月) | ||
| 17 | + private Integer rechargeTime; //充值时间 | ||
| 18 | + | ||
| 19 | + public Integer getId() { | ||
| 20 | + return id; | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + public void setId(Integer id) { | ||
| 24 | + this.id = id; | ||
| 25 | + } | ||
| 26 | + | ||
| 27 | + public Integer getUserId() { | ||
| 28 | + return userId; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public void setUserId(Integer userId) { | ||
| 32 | + this.userId = userId; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public String getUserLoginName() { | ||
| 36 | + return userLoginName; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public void setUserLoginName(String userLoginName) { | ||
| 40 | + this.userLoginName = userLoginName; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public String getRechargeAmount() { | ||
| 44 | + return rechargeAmount; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void setRechargeAmount(String rechargeAmount) { | ||
| 48 | + this.rechargeAmount = rechargeAmount; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public String getRechargeFlow() { | ||
| 52 | + return rechargeFlow; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public void setRechargeFlow(String rechargeFlow) { | ||
| 56 | + this.rechargeFlow = rechargeFlow; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public Integer getRechargeDays() { | ||
| 60 | + return rechargeDays; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public void setRechargeDays(Integer rechargeDays) { | ||
| 64 | + this.rechargeDays = rechargeDays; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public Integer getRechargeTime() { | ||
| 68 | + return rechargeTime; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public void setRechargeTime(Integer rechargeTime) { | ||
| 72 | + this.rechargeTime = rechargeTime; | ||
| 73 | + } | ||
| 74 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 售后 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderCustomerService extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键 | ||
| 12 | + private String customerUserPhone; //售后申请人手机号 | ||
| 13 | + private String customerUserName; //售后申请人姓名 | ||
| 14 | + private String serviceUserLoginname; //处理人登录名 | ||
| 15 | + private Integer customerServiceState; //售后状态(0创建,1受理,2处理中,3处理完成,4结束) | ||
| 16 | + private String customerListId; //售后清单id | ||
| 17 | + private String customerListInfo; //售后清单列表 | ||
| 18 | + private String detailDescription; //详情描述 | ||
| 19 | + private Integer customerServiceType; //售后服务类型 | ||
| 20 | + private String customerExpressId; //客户快递单号 | ||
| 21 | + private String serviceExpressId; //客服快递单号 | ||
| 22 | + private Integer createTime; //创建时间 | ||
| 23 | + private Integer updateTime; //修改时间 | ||
| 24 | + private String deviceImei; //设备imei号,多个用逗号隔开 | ||
| 25 | + private String orderSim; //sim卡号,多个用逗号分割 | ||
| 26 | + private String address; //地址 | ||
| 27 | + private String customerUserImgurl; //客户图片地址,分割 | ||
| 28 | + private String serviceUserImgurl; //处理人图片地址,分割 | ||
| 29 | + private String causesRework; //返修原因 | ||
| 30 | + private String charge; //收费 | ||
| 31 | + private String maintenanceMan; //维修员 | ||
| 32 | + private String processingMethod; //解决方法 | ||
| 33 | + | ||
| 34 | + public Integer getId() { | ||
| 35 | + return id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setId(Integer id) { | ||
| 39 | + this.id = id; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getCustomerUserPhone() { | ||
| 43 | + return customerUserPhone; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setCustomerUserPhone(String customerUserPhone) { | ||
| 47 | + this.customerUserPhone = customerUserPhone; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getCustomerUserName() { | ||
| 51 | + return customerUserName; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setCustomerUserName(String customerUserName) { | ||
| 55 | + this.customerUserName = customerUserName; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getServiceUserLoginname() { | ||
| 59 | + return serviceUserLoginname; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setServiceUserLoginname(String serviceUserLoginname) { | ||
| 63 | + this.serviceUserLoginname = serviceUserLoginname; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public Integer getCustomerServiceState() { | ||
| 67 | + return customerServiceState; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setCustomerServiceState(Integer customerServiceState) { | ||
| 71 | + this.customerServiceState = customerServiceState; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getCustomerListId() { | ||
| 75 | + return customerListId; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setCustomerListId(String customerListId) { | ||
| 79 | + this.customerListId = customerListId; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public String getCustomerListInfo() { | ||
| 83 | + return customerListInfo; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setCustomerListInfo(String customerListInfo) { | ||
| 87 | + this.customerListInfo = customerListInfo; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getDetailDescription() { | ||
| 91 | + return detailDescription; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setDetailDescription(String detailDescription) { | ||
| 95 | + this.detailDescription = detailDescription; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public Integer getCustomerServiceType() { | ||
| 99 | + return customerServiceType; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setCustomerServiceType(Integer customerServiceType) { | ||
| 103 | + this.customerServiceType = customerServiceType; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getCustomerExpressId() { | ||
| 107 | + return customerExpressId; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setCustomerExpressId(String customerExpressId) { | ||
| 111 | + this.customerExpressId = customerExpressId; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getServiceExpressId() { | ||
| 115 | + return serviceExpressId; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setServiceExpressId(String serviceExpressId) { | ||
| 119 | + this.serviceExpressId = serviceExpressId; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public Integer getCreateTime() { | ||
| 123 | + return createTime; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setCreateTime(Integer createTime) { | ||
| 127 | + this.createTime = createTime; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public Integer getUpdateTime() { | ||
| 131 | + return updateTime; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setUpdateTime(Integer updateTime) { | ||
| 135 | + this.updateTime = updateTime; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public String getDeviceImei() { | ||
| 139 | + return deviceImei; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public void setDeviceImei(String deviceImei) { | ||
| 143 | + this.deviceImei = deviceImei; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public String getOrderSim() { | ||
| 147 | + return orderSim; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public void setOrderSim(String orderSim) { | ||
| 151 | + this.orderSim = orderSim; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public String getAddress() { | ||
| 155 | + return address; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public void setAddress(String address) { | ||
| 159 | + this.address = address; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public String getCustomerUserImgurl() { | ||
| 163 | + return customerUserImgurl; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public void setCustomerUserImgurl(String customerUserImgurl) { | ||
| 167 | + this.customerUserImgurl = customerUserImgurl; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public String getServiceUserImgurl() { | ||
| 171 | + return serviceUserImgurl; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + public void setServiceUserImgurl(String serviceUserImgurl) { | ||
| 175 | + this.serviceUserImgurl = serviceUserImgurl; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + public String getCausesRework() { | ||
| 179 | + return causesRework; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public void setCausesRework(String causesRework) { | ||
| 183 | + this.causesRework = causesRework; | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + public String getCharge() { | ||
| 187 | + return charge; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + public void setCharge(String charge) { | ||
| 191 | + this.charge = charge; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + public String getMaintenanceMan() { | ||
| 195 | + return maintenanceMan; | ||
| 196 | + } | ||
| 197 | + | ||
| 198 | + public void setMaintenanceMan(String maintenanceMan) { | ||
| 199 | + this.maintenanceMan = maintenanceMan; | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | + public String getProcessingMethod() { | ||
| 203 | + return processingMethod; | ||
| 204 | + } | ||
| 205 | + | ||
| 206 | + public void setProcessingMethod(String processingMethod) { | ||
| 207 | + this.processingMethod = processingMethod; | ||
| 208 | + } | ||
| 209 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 设备套装 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderDeviceAssemble extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键id | ||
| 12 | + private String assembleName; //组装名称 | ||
| 13 | + private String assemblePartId; //组装部件id | ||
| 14 | + private String assemblePartName; //组装部件名称 | ||
| 15 | + private Integer assembleTime; //组装时间 | ||
| 16 | + private String assembleDescribe; //组装描述 | ||
| 17 | + | ||
| 18 | + public Integer getId() { | ||
| 19 | + return id; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + public void setId(Integer id) { | ||
| 23 | + this.id = id; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public String getAssembleName() { | ||
| 27 | + return assembleName; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setAssembleName(String assembleName) { | ||
| 31 | + this.assembleName = assembleName; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public String getAssemblePartId() { | ||
| 35 | + return assemblePartId; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setAssemblePartId(String assemblePartId) { | ||
| 39 | + this.assemblePartId = assemblePartId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getAssemblePartName() { | ||
| 43 | + return assemblePartName; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setAssemblePartName(String assemblePartName) { | ||
| 47 | + this.assemblePartName = assemblePartName; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public Integer getAssembleTime() { | ||
| 51 | + return assembleTime; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setAssembleTime(Integer assembleTime) { | ||
| 55 | + this.assembleTime = assembleTime; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getAssembleDescribe() { | ||
| 59 | + return assembleDescribe; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setAssembleDescribe(String assembleDescribe) { | ||
| 63 | + this.assembleDescribe = assembleDescribe; | ||
| 64 | + } | ||
| 65 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderDtu.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :设备DTU表 | ||
| 8 | + * @Date: Created in 10:26 2016/12/25 | ||
| 9 | + */ | ||
| 10 | +public class OrderDtu extends BaseBean { | ||
| 11 | + | ||
| 12 | + private Integer orderDtuId; //dtu主键 | ||
| 13 | + private String orderDtuImei; //设备的imei | ||
| 14 | + private String orderDtuSim; //卡号 | ||
| 15 | + private String deviceType; //设备类型 | ||
| 16 | + private Integer orderDtuCreateTime; //记录时间 | ||
| 17 | + private Integer userLoginId; //登录表主键id(数据级联登录表插入) | ||
| 18 | + private String userLoginName; //登录名(唯一,数据级联登录表插入) | ||
| 19 | + private Integer purchaseGoodsId; //采购商品id | ||
| 20 | + private Integer purchaseId; //采购id | ||
| 21 | + private String orderDtuSimId; //sim卡id编号 | ||
| 22 | + private Integer orderDtuState; //设备库存状态(0库存,1销售,2售后) | ||
| 23 | + private Integer orderWorkState; //设备工作状态(0正常,1异常) | ||
| 24 | + | ||
| 25 | + public Integer getOrderDtuId() { | ||
| 26 | + return orderDtuId; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public void setOrderDtuId(Integer orderDtuId) { | ||
| 30 | + this.orderDtuId = orderDtuId; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public String getOrderDtuImei() { | ||
| 34 | + return orderDtuImei; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public void setOrderDtuImei(String orderDtuImei) { | ||
| 38 | + this.orderDtuImei = orderDtuImei; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public String getOrderDtuSim() { | ||
| 42 | + return orderDtuSim; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public void setOrderDtuSim(String orderDtuSim) { | ||
| 46 | + this.orderDtuSim = orderDtuSim; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public String getDeviceType() { | ||
| 50 | + return deviceType; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public void setDeviceType(String deviceType) { | ||
| 54 | + this.deviceType = deviceType; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getOrderDtuCreateTime() { | ||
| 58 | + return orderDtuCreateTime; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public void setOrderDtuCreateTime(Integer orderDtuCreateTime) { | ||
| 62 | + this.orderDtuCreateTime = orderDtuCreateTime; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public Integer getUserLoginId() { | ||
| 66 | + return userLoginId; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public void setUserLoginId(Integer userLoginId) { | ||
| 70 | + this.userLoginId = userLoginId; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public String getUserLoginName() { | ||
| 74 | + return userLoginName; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + public void setUserLoginName(String userLoginName) { | ||
| 78 | + this.userLoginName = userLoginName; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public Integer getPurchaseGoodsId() { | ||
| 82 | + return purchaseGoodsId; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + public void setPurchaseGoodsId(Integer purchaseGoodsId) { | ||
| 86 | + this.purchaseGoodsId = purchaseGoodsId; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public Integer getPurchaseId() { | ||
| 90 | + return purchaseId; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public void setPurchaseId(Integer purchaseId) { | ||
| 94 | + this.purchaseId = purchaseId; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public String getOrderDtuSimId() { | ||
| 98 | + return orderDtuSimId; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public void setOrderDtuSimId(String orderDtuSimId) { | ||
| 102 | + this.orderDtuSimId = orderDtuSimId; | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + public Integer getOrderDtuState() { | ||
| 106 | + return orderDtuState; | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + public void setOrderDtuState(Integer orderDtuState) { | ||
| 110 | + this.orderDtuState = orderDtuState; | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + public Integer getOrderWorkState() { | ||
| 114 | + return orderWorkState; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + public void setOrderWorkState(Integer orderWorkState) { | ||
| 118 | + this.orderWorkState = orderWorkState; | ||
| 119 | + } | ||
| 120 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderPurchase.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * order采购信息表 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderPurchase extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键 | ||
| 12 | + private Integer purchaseSuppliers; //采购供应商 | ||
| 13 | + private String purchaseSuppliersName; //采购供应商名称 | ||
| 14 | + private Integer purchaseCreateTime; //采购创建时间 | ||
| 15 | + private Integer purchaseTime; //采购时间 | ||
| 16 | + private Integer deliveryTime; //发货时间 | ||
| 17 | + private String orderNumber; //订单编号 | ||
| 18 | + private String purchaseUserName; //采购员名称 | ||
| 19 | + private String purchaseDiscountRate; //折扣率 | ||
| 20 | + private String purchaseDiscountAmount; //折扣额 | ||
| 21 | + private String orderAmount; //订单金额 | ||
| 22 | + private String purchaseRemarks; //备注 | ||
| 23 | + private String purchaseContractTerms; //合同条款 | ||
| 24 | + private String purchaseInfo; //采购供应商名称 | ||
| 25 | + | ||
| 26 | + public Integer getId() { | ||
| 27 | + return id; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setId(Integer id) { | ||
| 31 | + this.id = id; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public Integer getPurchaseSuppliers() { | ||
| 35 | + return purchaseSuppliers; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setPurchaseSuppliers(Integer purchaseSuppliers) { | ||
| 39 | + this.purchaseSuppliers = purchaseSuppliers; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getPurchaseSuppliersName() { | ||
| 43 | + return purchaseSuppliersName; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setPurchaseSuppliersName(String purchaseSuppliersName) { | ||
| 47 | + this.purchaseSuppliersName = purchaseSuppliersName; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public Integer getPurchaseCreateTime() { | ||
| 51 | + return purchaseCreateTime; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setPurchaseCreateTime(Integer purchaseCreateTime) { | ||
| 55 | + this.purchaseCreateTime = purchaseCreateTime; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public Integer getPurchaseTime() { | ||
| 59 | + return purchaseTime; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setPurchaseTime(Integer purchaseTime) { | ||
| 63 | + this.purchaseTime = purchaseTime; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public Integer getDeliveryTime() { | ||
| 67 | + return deliveryTime; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setDeliveryTime(Integer deliveryTime) { | ||
| 71 | + this.deliveryTime = deliveryTime; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getOrderNumber() { | ||
| 75 | + return orderNumber; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setOrderNumber(String orderNumber) { | ||
| 79 | + this.orderNumber = orderNumber; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public String getPurchaseUserName() { | ||
| 83 | + return purchaseUserName; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setPurchaseUserName(String purchaseUserName) { | ||
| 87 | + this.purchaseUserName = purchaseUserName; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getPurchaseDiscountRate() { | ||
| 91 | + return purchaseDiscountRate; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setPurchaseDiscountRate(String purchaseDiscountRate) { | ||
| 95 | + this.purchaseDiscountRate = purchaseDiscountRate; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getPurchaseDiscountAmount() { | ||
| 99 | + return purchaseDiscountAmount; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setPurchaseDiscountAmount(String purchaseDiscountAmount) { | ||
| 103 | + this.purchaseDiscountAmount = purchaseDiscountAmount; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getOrderAmount() { | ||
| 107 | + return orderAmount; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setOrderAmount(String orderAmount) { | ||
| 111 | + this.orderAmount = orderAmount; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getPurchaseRemarks() { | ||
| 115 | + return purchaseRemarks; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setPurchaseRemarks(String purchaseRemarks) { | ||
| 119 | + this.purchaseRemarks = purchaseRemarks; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public String getPurchaseContractTerms() { | ||
| 123 | + return purchaseContractTerms; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setPurchaseContractTerms(String purchaseContractTerms) { | ||
| 127 | + this.purchaseContractTerms = purchaseContractTerms; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public String getPurchaseInfo() { | ||
| 131 | + return purchaseInfo; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setPurchaseInfo(String purchaseInfo) { | ||
| 135 | + this.purchaseInfo = purchaseInfo; | ||
| 136 | + } | ||
| 137 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 采购物品信息 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderPurchaseGoods extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer purchaseGoodsId; //主键 | ||
| 12 | + private String purchaseGoodsName; //采购商品名称 | ||
| 13 | + private Integer purchaseId; //采购id | ||
| 14 | + private String company; //单位 | ||
| 15 | + private Integer number; //数量 | ||
| 16 | + private String unitPrice; //单价 | ||
| 17 | + private String discountRate; //折扣率 | ||
| 18 | + private String discountAmount; //折扣金额 | ||
| 19 | + private String amountOfMoney; //金额 | ||
| 20 | + private String taxRate; //税率 | ||
| 21 | + private String totalAdValoremTax; //价税合计 | ||
| 22 | + private String remarks; //备注 | ||
| 23 | + private String purchaseDeviceIds; //采购是模块设备imei号 | ||
| 24 | + private Integer stockId; //库存id | ||
| 25 | + private Integer purchaseGoodsType; //采购商品类型(1通讯模块,0配件) | ||
| 26 | + | ||
| 27 | + public Integer getPurchaseGoodsId() { | ||
| 28 | + return purchaseGoodsId; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public void setPurchaseGoodsId(Integer purchaseGoodsId) { | ||
| 32 | + this.purchaseGoodsId = purchaseGoodsId; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public String getPurchaseGoodsName() { | ||
| 36 | + return purchaseGoodsName; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public void setPurchaseGoodsName(String purchaseGoodsName) { | ||
| 40 | + this.purchaseGoodsName = purchaseGoodsName; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public Integer getPurchaseId() { | ||
| 44 | + return purchaseId; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void setPurchaseId(Integer purchaseId) { | ||
| 48 | + this.purchaseId = purchaseId; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public String getCompany() { | ||
| 52 | + return company; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public void setCompany(String company) { | ||
| 56 | + this.company = company; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public Integer getNumber() { | ||
| 60 | + return number; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public void setNumber(Integer number) { | ||
| 64 | + this.number = number; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public String getUnitPrice() { | ||
| 68 | + return unitPrice; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public void setUnitPrice(String unitPrice) { | ||
| 72 | + this.unitPrice = unitPrice; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getDiscountRate() { | ||
| 76 | + return discountRate; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public void setDiscountRate(String discountRate) { | ||
| 80 | + this.discountRate = discountRate; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public String getDiscountAmount() { | ||
| 84 | + return discountAmount; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public void setDiscountAmount(String discountAmount) { | ||
| 88 | + this.discountAmount = discountAmount; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public String getAmountOfMoney() { | ||
| 92 | + return amountOfMoney; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public void setAmountOfMoney(String amountOfMoney) { | ||
| 96 | + this.amountOfMoney = amountOfMoney; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public String getTaxRate() { | ||
| 100 | + return taxRate; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public void setTaxRate(String taxRate) { | ||
| 104 | + this.taxRate = taxRate; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public String getTotalAdValoremTax() { | ||
| 108 | + return totalAdValoremTax; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public void setTotalAdValoremTax(String totalAdValoremTax) { | ||
| 112 | + this.totalAdValoremTax = totalAdValoremTax; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public String getRemarks() { | ||
| 116 | + return remarks; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public void setRemarks(String remarks) { | ||
| 120 | + this.remarks = remarks; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public String getPurchaseDeviceIds() { | ||
| 124 | + return purchaseDeviceIds; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public void setPurchaseDeviceIds(String purchaseDeviceIds) { | ||
| 128 | + this.purchaseDeviceIds = purchaseDeviceIds; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public Integer getStockId() { | ||
| 132 | + return stockId; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public void setStockId(Integer stockId) { | ||
| 136 | + this.stockId = stockId; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + public Integer getPurchaseGoodsType() { | ||
| 140 | + return purchaseGoodsType; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + public void setPurchaseGoodsType(Integer purchaseGoodsType) { | ||
| 144 | + this.purchaseGoodsType = purchaseGoodsType; | ||
| 145 | + } | ||
| 146 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 杂项商品采购表 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderPurchaseGroceries extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键id | ||
| 12 | + private String supplierName; //供应商名称 | ||
| 13 | + private String groceriesName; //商品名称 | ||
| 14 | + private String groceriesUnit; //商品单位 | ||
| 15 | + private String groceriesPrice; //商品单价 | ||
| 16 | + private String purchaseMoney; //采购金额 | ||
| 17 | + private String purchaseAmount; //采购数量 | ||
| 18 | + private Integer purchaseTime; //采购时间 | ||
| 19 | + private Integer createTime; //创建时间 | ||
| 20 | + private String remark; //备注 | ||
| 21 | + | ||
| 22 | + public Integer getId() { | ||
| 23 | + return id; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public void setId(Integer id) { | ||
| 27 | + this.id = id; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public String getSupplierName() { | ||
| 31 | + return supplierName; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setSupplierName(String supplierName) { | ||
| 35 | + this.supplierName = supplierName; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public String getGroceriesName() { | ||
| 39 | + return groceriesName; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setGroceriesName(String groceriesName) { | ||
| 43 | + this.groceriesName = groceriesName; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public String getGroceriesUnit() { | ||
| 47 | + return groceriesUnit; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setGroceriesUnit(String groceriesUnit) { | ||
| 51 | + this.groceriesUnit = groceriesUnit; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public String getGroceriesPrice() { | ||
| 55 | + return groceriesPrice; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setGroceriesPrice(String groceriesPrice) { | ||
| 59 | + this.groceriesPrice = groceriesPrice; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getPurchaseMoney() { | ||
| 63 | + return purchaseMoney; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setPurchaseMoney(String purchaseMoney) { | ||
| 67 | + this.purchaseMoney = purchaseMoney; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public String getPurchaseAmount() { | ||
| 71 | + return purchaseAmount; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setPurchaseAmount(String purchaseAmount) { | ||
| 75 | + this.purchaseAmount = purchaseAmount; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public Integer getPurchaseTime() { | ||
| 79 | + return purchaseTime; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setPurchaseTime(Integer purchaseTime) { | ||
| 83 | + this.purchaseTime = purchaseTime; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public Integer getCreateTime() { | ||
| 87 | + return createTime; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setCreateTime(Integer createTime) { | ||
| 91 | + this.createTime = createTime; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public String getRemark() { | ||
| 95 | + return remark; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setRemark(String remark) { | ||
| 99 | + this.remark = remark; | ||
| 100 | + } | ||
| 101 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderSale.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 销售信息 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderSale extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键 | ||
| 12 | + private String buyers; //买家 | ||
| 13 | + private String buyersPhoneNumber; //买家手机号 | ||
| 14 | + private Integer saleCreateTime; //销售创建时间 | ||
| 15 | + private Integer saleTime; //销售时间 | ||
| 16 | + private Integer deliveryTime; //发货时间 | ||
| 17 | + private String orderNumber; //订单编号 | ||
| 18 | + private String saleUserName; //销售员名称 | ||
| 19 | + private String saleDiscountRate; //折扣率 | ||
| 20 | + private String saleDiscountAmount; //折扣额 | ||
| 21 | + private String orderAmount; //订单金额 | ||
| 22 | + private String saleRemarks; //备注 | ||
| 23 | + private String saleContractTerms; //合同条款 | ||
| 24 | + private String address; //买家地址 | ||
| 25 | + private String courierNumber; //快递单号 | ||
| 26 | + private Integer parentsId; //销售上级id | ||
| 27 | + private String supplementaryInstruction;//解释说明 | ||
| 28 | + private String saleInfo; //销售信息 | ||
| 29 | + | ||
| 30 | + public Integer getId() { | ||
| 31 | + return id; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setId(Integer id) { | ||
| 35 | + this.id = id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public String getBuyers() { | ||
| 39 | + return buyers; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setBuyers(String buyers) { | ||
| 43 | + this.buyers = buyers; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public String getBuyersPhoneNumber() { | ||
| 47 | + return buyersPhoneNumber; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setBuyersPhoneNumber(String buyersPhoneNumber) { | ||
| 51 | + this.buyersPhoneNumber = buyersPhoneNumber; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public Integer getSaleCreateTime() { | ||
| 55 | + return saleCreateTime; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setSaleCreateTime(Integer saleCreateTime) { | ||
| 59 | + this.saleCreateTime = saleCreateTime; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public Integer getSaleTime() { | ||
| 63 | + return saleTime; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setSaleTime(Integer saleTime) { | ||
| 67 | + this.saleTime = saleTime; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public Integer getDeliveryTime() { | ||
| 71 | + return deliveryTime; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setDeliveryTime(Integer deliveryTime) { | ||
| 75 | + this.deliveryTime = deliveryTime; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public String getOrderNumber() { | ||
| 79 | + return orderNumber; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setOrderNumber(String orderNumber) { | ||
| 83 | + this.orderNumber = orderNumber; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public String getSaleUserName() { | ||
| 87 | + return saleUserName; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setSaleUserName(String saleUserName) { | ||
| 91 | + this.saleUserName = saleUserName; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public String getSaleDiscountRate() { | ||
| 95 | + return saleDiscountRate; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setSaleDiscountRate(String saleDiscountRate) { | ||
| 99 | + this.saleDiscountRate = saleDiscountRate; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public String getSaleDiscountAmount() { | ||
| 103 | + return saleDiscountAmount; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public void setSaleDiscountAmount(String saleDiscountAmount) { | ||
| 107 | + this.saleDiscountAmount = saleDiscountAmount; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public String getOrderAmount() { | ||
| 111 | + return orderAmount; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public void setOrderAmount(String orderAmount) { | ||
| 115 | + this.orderAmount = orderAmount; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public String getSaleRemarks() { | ||
| 119 | + return saleRemarks; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public void setSaleRemarks(String saleRemarks) { | ||
| 123 | + this.saleRemarks = saleRemarks; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public String getSaleContractTerms() { | ||
| 127 | + return saleContractTerms; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public void setSaleContractTerms(String saleContractTerms) { | ||
| 131 | + this.saleContractTerms = saleContractTerms; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public String getAddress() { | ||
| 135 | + return address; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public void setAddress(String address) { | ||
| 139 | + this.address = address; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public String getCourierNumber() { | ||
| 143 | + return courierNumber; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public void setCourierNumber(String courierNumber) { | ||
| 147 | + this.courierNumber = courierNumber; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public Integer getParentsId() { | ||
| 151 | + return parentsId; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public void setParentsId(Integer parentsId) { | ||
| 155 | + this.parentsId = parentsId; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public String getSupplementaryInstruction() { | ||
| 159 | + return supplementaryInstruction; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public void setSupplementaryInstruction(String supplementaryInstruction) { | ||
| 163 | + this.supplementaryInstruction = supplementaryInstruction; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public String getSaleInfo() { | ||
| 167 | + return saleInfo; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public void setSaleInfo(String saleInfo) { | ||
| 171 | + this.saleInfo = saleInfo; | ||
| 172 | + } | ||
| 173 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderSaleGoods.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 销售商品 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderSaleGoods extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer saleGoodsId; //主键 | ||
| 12 | + private String saleGoodsName; //销售商品名称 | ||
| 13 | + private Integer saleId; //销售id | ||
| 14 | + private String unitPrice; //单价 | ||
| 15 | + private String discountRate; //折扣率 | ||
| 16 | + private String discountAmount; //折扣金额 | ||
| 17 | + private String amountOfMoney; //金额 | ||
| 18 | + private String taxRate; //税率 | ||
| 19 | + private String totalAdValoremTax; //价税合计 | ||
| 20 | + private String remarks; //备注 | ||
| 21 | + private Integer number; //数量 | ||
| 22 | + private String deviceIds; //设备id集合 | ||
| 23 | + private Integer saleGoodsType; //销售商品类别(0配件,1设备,2sim卡) | ||
| 24 | + private Integer stockId; //库存id | ||
| 25 | + | ||
| 26 | + public Integer getSaleGoodsId() { | ||
| 27 | + return saleGoodsId; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setSaleGoodsId(Integer saleGoodsId) { | ||
| 31 | + this.saleGoodsId = saleGoodsId; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public String getSaleGoodsName() { | ||
| 35 | + return saleGoodsName; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setSaleGoodsName(String saleGoodsName) { | ||
| 39 | + this.saleGoodsName = saleGoodsName; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public Integer getSaleId() { | ||
| 43 | + return saleId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setSaleId(Integer saleId) { | ||
| 47 | + this.saleId = saleId; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getUnitPrice() { | ||
| 51 | + return unitPrice; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setUnitPrice(String unitPrice) { | ||
| 55 | + this.unitPrice = unitPrice; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getDiscountRate() { | ||
| 59 | + return discountRate; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setDiscountRate(String discountRate) { | ||
| 63 | + this.discountRate = discountRate; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getDiscountAmount() { | ||
| 67 | + return discountAmount; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setDiscountAmount(String discountAmount) { | ||
| 71 | + this.discountAmount = discountAmount; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getAmountOfMoney() { | ||
| 75 | + return amountOfMoney; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setAmountOfMoney(String amountOfMoney) { | ||
| 79 | + this.amountOfMoney = amountOfMoney; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public String getTaxRate() { | ||
| 83 | + return taxRate; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setTaxRate(String taxRate) { | ||
| 87 | + this.taxRate = taxRate; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getTotalAdValoremTax() { | ||
| 91 | + return totalAdValoremTax; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setTotalAdValoremTax(String totalAdValoremTax) { | ||
| 95 | + this.totalAdValoremTax = totalAdValoremTax; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getRemarks() { | ||
| 99 | + return remarks; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setRemarks(String remarks) { | ||
| 103 | + this.remarks = remarks; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public Integer getNumber() { | ||
| 107 | + return number; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setNumber(Integer number) { | ||
| 111 | + this.number = number; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getDeviceIds() { | ||
| 115 | + return deviceIds; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setDeviceIds(String deviceIds) { | ||
| 119 | + this.deviceIds = deviceIds; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public Integer getSaleGoodsType() { | ||
| 123 | + return saleGoodsType; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setSaleGoodsType(Integer saleGoodsType) { | ||
| 127 | + this.saleGoodsType = saleGoodsType; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public Integer getStockId() { | ||
| 131 | + return stockId; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setStockId(Integer stockId) { | ||
| 135 | + this.stockId = stockId; | ||
| 136 | + } | ||
| 137 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * sim卡充值 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderSimRecharge extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer id; //主键 | ||
| 12 | + private String orderSim; //sim卡号 | ||
| 13 | + private Integer beforExpirationTime; //充值前到期时间 | ||
| 14 | + private Integer afterExpirationTime; //充值后到期时间 | ||
| 15 | + private String rechargeAmount; //充值金额 | ||
| 16 | + private Integer rechargeTime; //充值时间 | ||
| 17 | + | ||
| 18 | + public Integer getId() { | ||
| 19 | + return id; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + public void setId(Integer id) { | ||
| 23 | + this.id = id; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public String getOrderSim() { | ||
| 27 | + return orderSim; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setOrderSim(String orderSim) { | ||
| 31 | + this.orderSim = orderSim; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public Integer getBeforExpirationTime() { | ||
| 35 | + return beforExpirationTime; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setBeforExpirationTime(Integer beforExpirationTime) { | ||
| 39 | + this.beforExpirationTime = beforExpirationTime; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public Integer getAfterExpirationTime() { | ||
| 43 | + return afterExpirationTime; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setAfterExpirationTime(Integer afterExpirationTime) { | ||
| 47 | + this.afterExpirationTime = afterExpirationTime; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getRechargeAmount() { | ||
| 51 | + return rechargeAmount; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setRechargeAmount(String rechargeAmount) { | ||
| 55 | + this.rechargeAmount = rechargeAmount; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public Integer getRechargeTime() { | ||
| 59 | + return rechargeTime; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setRechargeTime(Integer rechargeTime) { | ||
| 63 | + this.rechargeTime = rechargeTime; | ||
| 64 | + } | ||
| 65 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderSimWarn.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * sim卡信息 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderSimWarn extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer orderSimId; //主键 | ||
| 12 | + private String orderSim; //sim卡号 | ||
| 13 | + private Integer orderSimStartdate; //开始时间 | ||
| 14 | + private Integer orderSimEnddate; //结束时间 | ||
| 15 | + private String userLoginId; //用户id | ||
| 16 | + private String orderSimWarnState; //告警状态 | ||
| 17 | + private Integer orderSimState; //处理状态(0库存,1销售,2售后) | ||
| 18 | + private Integer orderSimWorkState; //sim卡工作状态(0-有效,1-失效,2-作废) | ||
| 19 | + private Integer orderSimTime; //sim卡有效期(单位秒) | ||
| 20 | + private String orderSimNumber; //sim卡编号 | ||
| 21 | + | ||
| 22 | + public Integer getOrderSimId() { | ||
| 23 | + return orderSimId; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public void setOrderSimId(Integer orderSimId) { | ||
| 27 | + this.orderSimId = orderSimId; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public String getOrderSim() { | ||
| 31 | + return orderSim; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setOrderSim(String orderSim) { | ||
| 35 | + this.orderSim = orderSim; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public Integer getOrderSimStartdate() { | ||
| 39 | + return orderSimStartdate; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setOrderSimStartdate(Integer orderSimStartdate) { | ||
| 43 | + this.orderSimStartdate = orderSimStartdate; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public Integer getOrderSimEnddate() { | ||
| 47 | + return orderSimEnddate; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setOrderSimEnddate(Integer orderSimEnddate) { | ||
| 51 | + this.orderSimEnddate = orderSimEnddate; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public String getUserLoginId() { | ||
| 55 | + return userLoginId; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setUserLoginId(String userLoginId) { | ||
| 59 | + this.userLoginId = userLoginId; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getOrderSimWarnState() { | ||
| 63 | + return orderSimWarnState; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setOrderSimWarnState(String orderSimWarnState) { | ||
| 67 | + this.orderSimWarnState = orderSimWarnState; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public Integer getOrderSimState() { | ||
| 71 | + return orderSimState; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setOrderSimState(Integer orderSimState) { | ||
| 75 | + this.orderSimState = orderSimState; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public Integer getOrderSimWorkState() { | ||
| 79 | + return orderSimWorkState; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setOrderSimWorkState(Integer orderSimWorkState) { | ||
| 83 | + this.orderSimWorkState = orderSimWorkState; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public Integer getOrderSimTime() { | ||
| 87 | + return orderSimTime; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setOrderSimTime(Integer orderSimTime) { | ||
| 91 | + this.orderSimTime = orderSimTime; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public String getOrderSimNumber() { | ||
| 95 | + return orderSimNumber; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setOrderSimNumber(String orderSimNumber) { | ||
| 99 | + this.orderSimNumber = orderSimNumber; | ||
| 100 | + } | ||
| 101 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderStock.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 库存 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderStock extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer stockId; //主键 | ||
| 12 | + private Integer type; //商品类型 | ||
| 13 | + private String name; //类型名称 | ||
| 14 | + private Integer number; //商品库存 | ||
| 15 | + private String company; //单位 | ||
| 16 | + private String stockInfo; //库存详情 | ||
| 17 | + | ||
| 18 | + public Integer getStockId() { | ||
| 19 | + return stockId; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + public void setStockId(Integer stockId) { | ||
| 23 | + this.stockId = stockId; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public Integer getType() { | ||
| 27 | + return type; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setType(Integer type) { | ||
| 31 | + this.type = type; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public String getName() { | ||
| 35 | + return name; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setName(String name) { | ||
| 39 | + this.name = name; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public Integer getNumber() { | ||
| 43 | + return number; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setNumber(Integer number) { | ||
| 47 | + this.number = number; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getCompany() { | ||
| 51 | + return company; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setCompany(String company) { | ||
| 55 | + this.company = company; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getStockInfo() { | ||
| 59 | + return stockInfo; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setStockInfo(String stockInfo) { | ||
| 63 | + this.stockInfo = stockInfo; | ||
| 64 | + } | ||
| 65 | +} |
lh-modules/lh-runingfish/src/main/java/com/zhonglai/luhui/runingfish/domain/dtu/OrderSuppliers.java
0 → 100644
| 1 | +package com.zhonglai.luhui.runingfish.domain.dtu; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 供应商 | ||
| 7 | + * Created by Administrator on 2017/1/17. | ||
| 8 | + */ | ||
| 9 | +public class OrderSuppliers extends BaseBean { | ||
| 10 | + | ||
| 11 | + private Integer suppliersId; //主键 | ||
| 12 | + private String suppliersName; //供应商名称 | ||
| 13 | + private Integer suppliersRelationship; //与公司关系 | ||
| 14 | + private String suppliersStaffSize; //人员规模 | ||
| 15 | + private String suppliersCategory; //企业类别 | ||
| 16 | + private String suppliersAnnualTurnover; //年营业额 | ||
| 17 | + private String mailbox; //邮箱 | ||
| 18 | + private String telephone; //电话 | ||
| 19 | + private String fax; //传真 | ||
| 20 | + private String area; //地区 | ||
| 21 | + private String address; //地址 | ||
| 22 | + private String remarks; //备注 | ||
| 23 | + private String contactPersonFullName; //姓名 | ||
| 24 | + private Integer contactPersonGender; //性别(0男,1女) | ||
| 25 | + private String contactPersonCall; //称呼 | ||
| 26 | + private String contactPersonDepartment; //部门 | ||
| 27 | + private String contactPersonPosition; //职位 | ||
| 28 | + private String contactPersonTelephone; //电话 | ||
| 29 | + private String contactPersonMobilephone; //手机 | ||
| 30 | + private String contactPersonMailbox; //邮箱 | ||
| 31 | + private String contactPersonQq; //QQ | ||
| 32 | + private String contactPersonId; //身份证 | ||
| 33 | + private String contactPersonContactaddress; //联系地址 | ||
| 34 | + private String contactPersonRemarks; //备注 | ||
| 35 | + private Integer createTime; //创建时间 | ||
| 36 | + | ||
| 37 | + public Integer getSuppliersId() { | ||
| 38 | + return suppliersId; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public void setSuppliersId(Integer suppliersId) { | ||
| 42 | + this.suppliersId = suppliersId; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public String getSuppliersName() { | ||
| 46 | + return suppliersName; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public void setSuppliersName(String suppliersName) { | ||
| 50 | + this.suppliersName = suppliersName; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public Integer getSuppliersRelationship() { | ||
| 54 | + return suppliersRelationship; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public void setSuppliersRelationship(Integer suppliersRelationship) { | ||
| 58 | + this.suppliersRelationship = suppliersRelationship; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public String getSuppliersStaffSize() { | ||
| 62 | + return suppliersStaffSize; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public void setSuppliersStaffSize(String suppliersStaffSize) { | ||
| 66 | + this.suppliersStaffSize = suppliersStaffSize; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public String getSuppliersCategory() { | ||
| 70 | + return suppliersCategory; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public void setSuppliersCategory(String suppliersCategory) { | ||
| 74 | + this.suppliersCategory = suppliersCategory; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + public String getSuppliersAnnualTurnover() { | ||
| 78 | + return suppliersAnnualTurnover; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public void setSuppliersAnnualTurnover(String suppliersAnnualTurnover) { | ||
| 82 | + this.suppliersAnnualTurnover = suppliersAnnualTurnover; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + public String getMailbox() { | ||
| 86 | + return mailbox; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public void setMailbox(String mailbox) { | ||
| 90 | + this.mailbox = mailbox; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public String getTelephone() { | ||
| 94 | + return telephone; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public void setTelephone(String telephone) { | ||
| 98 | + this.telephone = telephone; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public String getFax() { | ||
| 102 | + return fax; | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + public void setFax(String fax) { | ||
| 106 | + this.fax = fax; | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + public String getArea() { | ||
| 110 | + return area; | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + public void setArea(String area) { | ||
| 114 | + this.area = area; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + public String getAddress() { | ||
| 118 | + return address; | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + public void setAddress(String address) { | ||
| 122 | + this.address = address; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + public String getRemarks() { | ||
| 126 | + return remarks; | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | + public void setRemarks(String remarks) { | ||
| 130 | + this.remarks = remarks; | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + public String getContactPersonFullName() { | ||
| 134 | + return contactPersonFullName; | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + public void setContactPersonFullName(String contactPersonFullName) { | ||
| 138 | + this.contactPersonFullName = contactPersonFullName; | ||
| 139 | + } | ||
| 140 | + | ||
| 141 | + public Integer getContactPersonGender() { | ||
| 142 | + return contactPersonGender; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + public void setContactPersonGender(Integer contactPersonGender) { | ||
| 146 | + this.contactPersonGender = contactPersonGender; | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + public String getContactPersonCall() { | ||
| 150 | + return contactPersonCall; | ||
| 151 | + } | ||
| 152 | + | ||
| 153 | + public void setContactPersonCall(String contactPersonCall) { | ||
| 154 | + this.contactPersonCall = contactPersonCall; | ||
| 155 | + } | ||
| 156 | + | ||
| 157 | + public String getContactPersonDepartment() { | ||
| 158 | + return contactPersonDepartment; | ||
| 159 | + } | ||
| 160 | + | ||
| 161 | + public void setContactPersonDepartment(String contactPersonDepartment) { | ||
| 162 | + this.contactPersonDepartment = contactPersonDepartment; | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + public String getContactPersonPosition() { | ||
| 166 | + return contactPersonPosition; | ||
| 167 | + } | ||
| 168 | + | ||
| 169 | + public void setContactPersonPosition(String contactPersonPosition) { | ||
| 170 | + this.contactPersonPosition = contactPersonPosition; | ||
| 171 | + } | ||
| 172 | + | ||
| 173 | + public String getContactPersonTelephone() { | ||
| 174 | + return contactPersonTelephone; | ||
| 175 | + } | ||
| 176 | + | ||
| 177 | + public void setContactPersonTelephone(String contactPersonTelephone) { | ||
| 178 | + this.contactPersonTelephone = contactPersonTelephone; | ||
| 179 | + } | ||
| 180 | + | ||
| 181 | + public String getContactPersonMobilephone() { | ||
| 182 | + return contactPersonMobilephone; | ||
| 183 | + } | ||
| 184 | + | ||
| 185 | + public void setContactPersonMobilephone(String contactPersonMobilephone) { | ||
| 186 | + this.contactPersonMobilephone = contactPersonMobilephone; | ||
| 187 | + } | ||
| 188 | + | ||
| 189 | + public String getContactPersonMailbox() { | ||
| 190 | + return contactPersonMailbox; | ||
| 191 | + } | ||
| 192 | + | ||
| 193 | + public void setContactPersonMailbox(String contactPersonMailbox) { | ||
| 194 | + this.contactPersonMailbox = contactPersonMailbox; | ||
| 195 | + } | ||
| 196 | + | ||
| 197 | + public String getContactPersonQq() { | ||
| 198 | + return contactPersonQq; | ||
| 199 | + } | ||
| 200 | + | ||
| 201 | + public void setContactPersonQq(String contactPersonQq) { | ||
| 202 | + this.contactPersonQq = contactPersonQq; | ||
| 203 | + } | ||
| 204 | + | ||
| 205 | + public String getContactPersonId() { | ||
| 206 | + return contactPersonId; | ||
| 207 | + } | ||
| 208 | + | ||
| 209 | + public void setContactPersonId(String contactPersonId) { | ||
| 210 | + this.contactPersonId = contactPersonId; | ||
| 211 | + } | ||
| 212 | + | ||
| 213 | + public String getContactPersonContactaddress() { | ||
| 214 | + return contactPersonContactaddress; | ||
| 215 | + } | ||
| 216 | + | ||
| 217 | + public void setContactPersonContactaddress(String contactPersonContactaddress) { | ||
| 218 | + this.contactPersonContactaddress = contactPersonContactaddress; | ||
| 219 | + } | ||
| 220 | + | ||
| 221 | + public String getContactPersonRemarks() { | ||
| 222 | + return contactPersonRemarks; | ||
| 223 | + } | ||
| 224 | + | ||
| 225 | + public void setContactPersonRemarks(String contactPersonRemarks) { | ||
| 226 | + this.contactPersonRemarks = contactPersonRemarks; | ||
| 227 | + } | ||
| 228 | + | ||
| 229 | + public Integer getCreateTime() { | ||
| 230 | + return createTime; | ||
| 231 | + } | ||
| 232 | + | ||
| 233 | + public void setCreateTime(Integer createTime) { | ||
| 234 | + this.createTime = createTime; | ||
| 235 | + } | ||
| 236 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.farming; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * @Author: fuchao | ||
| 8 | + * @Description :日常日志 | ||
| 9 | + * @Date: Created in 13:50 2016/12/6 | ||
| 10 | + * @Modified By: | ||
| 11 | + */ | ||
| 12 | +public class FarmingDaily extends BaseBean { | ||
| 13 | + | ||
| 14 | + private Integer id; //日常养殖id主键 | ||
| 15 | + private Integer pondId; //塘口id主键 | ||
| 16 | + private String pondName; //塘口名称 | ||
| 17 | + private Integer pondType; //塘口类型(0-外塘,1-水槽) | ||
| 18 | + private Integer userId; //用户id主键 | ||
| 19 | + private String userLoginName; //用户登录名 | ||
| 20 | + private Integer date; //日期 | ||
| 21 | + private String weather; //天气 | ||
| 22 | + private String weatherKey; //天气key | ||
| 23 | + private String waterTemperature; //水温 | ||
| 24 | + private String oxy; //溶氧值 | ||
| 25 | + private String eat; //吃食情况 | ||
| 26 | + private String foodWeight; //食物重量 | ||
| 27 | + private String drug; //用药情况 | ||
| 28 | + private String remark; //备注 | ||
| 29 | + private Integer createTime; //创建时间 | ||
| 30 | + | ||
| 31 | + public Integer getId() { | ||
| 32 | + return id; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public void setId(Integer id) { | ||
| 36 | + this.id = id; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public Integer getPondId() { | ||
| 40 | + return pondId; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public void setPondId(Integer pondId) { | ||
| 44 | + this.pondId = pondId; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public String getPondName() { | ||
| 48 | + return pondName; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setPondName(String pondName) { | ||
| 52 | + this.pondName = pondName; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public Integer getUserId() { | ||
| 56 | + return userId; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void setUserId(Integer userId) { | ||
| 60 | + this.userId = userId; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public String getUserLoginName() { | ||
| 64 | + return userLoginName; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public void setUserLoginName(String userLoginName) { | ||
| 68 | + this.userLoginName = userLoginName; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public Integer getDate() { | ||
| 72 | + return date; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void setDate(Integer date) { | ||
| 76 | + this.date = date; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String getWeather() { | ||
| 80 | + return weather; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public void setWeather(String weather) { | ||
| 84 | + this.weather = weather; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public String getWeatherKey() { | ||
| 88 | + return weatherKey; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public void setWeatherKey(String weatherKey) { | ||
| 92 | + this.weatherKey = weatherKey; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public String getWaterTemperature() { | ||
| 96 | + return waterTemperature; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public void setWaterTemperature(String waterTemperature) { | ||
| 100 | + this.waterTemperature = waterTemperature; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public String getOxy() { | ||
| 104 | + return oxy; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public void setOxy(String oxy) { | ||
| 108 | + this.oxy = oxy; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public String getEat() { | ||
| 112 | + return eat; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public void setEat(String eat) { | ||
| 116 | + this.eat = eat; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public String getFoodWeight() { | ||
| 120 | + return foodWeight; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public void setFoodWeight(String foodWeight) { | ||
| 124 | + this.foodWeight = foodWeight; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public String getDrug() { | ||
| 128 | + return drug; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public void setDrug(String drug) { | ||
| 132 | + this.drug = drug; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public String getRemark() { | ||
| 136 | + return remark; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + public void setRemark(String remark) { | ||
| 140 | + this.remark = remark; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + public Integer getCreateTime() { | ||
| 144 | + return createTime; | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + public void setCreateTime(Integer createTime) { | ||
| 148 | + this.createTime = createTime; | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + public Integer getPondType() { | ||
| 152 | + return pondType; | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + public void setPondType(Integer pondType) { | ||
| 156 | + this.pondType = pondType; | ||
| 157 | + } | ||
| 158 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.farming; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * @Author: fuchao | ||
| 8 | + * @Description :水产病害报表 | ||
| 9 | + * @Date: Created in 13:51 2016/12/6 | ||
| 10 | + * @Modified By: | ||
| 11 | + */ | ||
| 12 | +public class FarmingDiseaseReport extends BaseBean { | ||
| 13 | + | ||
| 14 | + private Integer id; //主键id | ||
| 15 | + private Integer userId; //用户id | ||
| 16 | + private String userName; //用户登录名 | ||
| 17 | + private Integer surveyDate; //调查日期 | ||
| 18 | + private String surveyAddress; //调查地点 | ||
| 19 | + private String surveyName; //调查人 | ||
| 20 | + private String waterAssessment; //水质评估 | ||
| 21 | + private String farmlandPesticide; //周围农田施药 | ||
| 22 | + private String waterDeep; //水深(米) | ||
| 23 | + private String size; //面积(亩) | ||
| 24 | + private String situationAlgae; //水中藻类情况 | ||
| 25 | + private String situationRainfall; //降雨情况 | ||
| 26 | + private String situationBottom; //底质情况 | ||
| 27 | + private String waterColour; //水色和透明度 | ||
| 28 | + private String ph; //pH值 | ||
| 29 | + private String oxy; //溶解氧含量 | ||
| 30 | + private String ammonia; //氨氮(mg/L) | ||
| 31 | + private String nitrite; //亚硝酸盐(mg/L) | ||
| 32 | + private String waterTemperature; //水温 | ||
| 33 | + private String sulfide; //硫化物 | ||
| 34 | + private String clearDate; //上次清塘时间 | ||
| 35 | + private String clearMethods; //清塘方法 | ||
| 36 | + private String grazingSpecies; //品种 | ||
| 37 | + private String grazingSource; //来源 | ||
| 38 | + private String density; //投放密度(尾/亩) | ||
| 39 | + private String feedName; //饵料品牌和型号 | ||
| 40 | + private String feedProvide; //日均投放量(kg) | ||
| 41 | + private String diseaseDate; //发病时间 | ||
| 42 | + private String diseaseSpecies; //发病鱼种 | ||
| 43 | + private String diseaseSpecifications; //发病规格 | ||
| 44 | + private String dailyDeath; //日死亡量 | ||
| 45 | + private String totalDeath; //累积死亡量 | ||
| 46 | + private String medicineUsed; //曾用药、剂量 | ||
| 47 | + private String medicineEffect; //曾用药效果评估 | ||
| 48 | + private String diseaseCause; //疑似病因 | ||
| 49 | + private String remark; //备注 | ||
| 50 | + private String contactName; //联系人 | ||
| 51 | + private String contactPhone; //联系电话 | ||
| 52 | + private String contactAddress; //联系地址 | ||
| 53 | + private Integer createTime; //创建时间 | ||
| 54 | + | ||
| 55 | + public Integer getId() { | ||
| 56 | + return id; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void setId(Integer id) { | ||
| 60 | + this.id = id; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public Integer getUserId() { | ||
| 64 | + return userId; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public void setUserId(Integer userId) { | ||
| 68 | + this.userId = userId; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public String getUserName() { | ||
| 72 | + return userName; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void setUserName(String userName) { | ||
| 76 | + this.userName = userName; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public Integer getSurveyDate() { | ||
| 80 | + return surveyDate; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public void setSurveyDate(Integer surveyDate) { | ||
| 84 | + this.surveyDate = surveyDate; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public String getSurveyAddress() { | ||
| 88 | + return surveyAddress; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public void setSurveyAddress(String surveyAddress) { | ||
| 92 | + this.surveyAddress = surveyAddress; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public String getSurveyName() { | ||
| 96 | + return surveyName; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public void setSurveyName(String surveyName) { | ||
| 100 | + this.surveyName = surveyName; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public String getWaterAssessment() { | ||
| 104 | + return waterAssessment; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public void setWaterAssessment(String waterAssessment) { | ||
| 108 | + this.waterAssessment = waterAssessment; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public String getFarmlandPesticide() { | ||
| 112 | + return farmlandPesticide; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public void setFarmlandPesticide(String farmlandPesticide) { | ||
| 116 | + this.farmlandPesticide = farmlandPesticide; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public String getWaterDeep() { | ||
| 120 | + return waterDeep; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public void setWaterDeep(String waterDeep) { | ||
| 124 | + this.waterDeep = waterDeep; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public String getSize() { | ||
| 128 | + return size; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public void setSize(String size) { | ||
| 132 | + this.size = size; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public String getSituationAlgae() { | ||
| 136 | + return situationAlgae; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + public void setSituationAlgae(String situationAlgae) { | ||
| 140 | + this.situationAlgae = situationAlgae; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + public String getSituationRainfall() { | ||
| 144 | + return situationRainfall; | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + public void setSituationRainfall(String situationRainfall) { | ||
| 148 | + this.situationRainfall = situationRainfall; | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + public String getSituationBottom() { | ||
| 152 | + return situationBottom; | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + public void setSituationBottom(String situationBottom) { | ||
| 156 | + this.situationBottom = situationBottom; | ||
| 157 | + } | ||
| 158 | + | ||
| 159 | + public String getWaterColour() { | ||
| 160 | + return waterColour; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + public void setWaterColour(String waterColour) { | ||
| 164 | + this.waterColour = waterColour; | ||
| 165 | + } | ||
| 166 | + | ||
| 167 | + public String getPh() { | ||
| 168 | + return ph; | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + public void setPh(String ph) { | ||
| 172 | + this.ph = ph; | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + public String getOxy() { | ||
| 176 | + return oxy; | ||
| 177 | + } | ||
| 178 | + | ||
| 179 | + public void setOxy(String oxy) { | ||
| 180 | + this.oxy = oxy; | ||
| 181 | + } | ||
| 182 | + | ||
| 183 | + public String getAmmonia() { | ||
| 184 | + return ammonia; | ||
| 185 | + } | ||
| 186 | + | ||
| 187 | + public void setAmmonia(String ammonia) { | ||
| 188 | + this.ammonia = ammonia; | ||
| 189 | + } | ||
| 190 | + | ||
| 191 | + public String getNitrite() { | ||
| 192 | + return nitrite; | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + public void setNitrite(String nitrite) { | ||
| 196 | + this.nitrite = nitrite; | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + public String getWaterTemperature() { | ||
| 200 | + return waterTemperature; | ||
| 201 | + } | ||
| 202 | + | ||
| 203 | + public void setWaterTemperature(String waterTemperature) { | ||
| 204 | + this.waterTemperature = waterTemperature; | ||
| 205 | + } | ||
| 206 | + | ||
| 207 | + public String getSulfide() { | ||
| 208 | + return sulfide; | ||
| 209 | + } | ||
| 210 | + | ||
| 211 | + public void setSulfide(String sulfide) { | ||
| 212 | + this.sulfide = sulfide; | ||
| 213 | + } | ||
| 214 | + | ||
| 215 | + public String getClearDate() { | ||
| 216 | + return clearDate; | ||
| 217 | + } | ||
| 218 | + | ||
| 219 | + public void setClearDate(String clearDate) { | ||
| 220 | + this.clearDate = clearDate; | ||
| 221 | + } | ||
| 222 | + | ||
| 223 | + public String getClearMethods() { | ||
| 224 | + return clearMethods; | ||
| 225 | + } | ||
| 226 | + | ||
| 227 | + public void setClearMethods(String clearMethods) { | ||
| 228 | + this.clearMethods = clearMethods; | ||
| 229 | + } | ||
| 230 | + | ||
| 231 | + public String getGrazingSpecies() { | ||
| 232 | + return grazingSpecies; | ||
| 233 | + } | ||
| 234 | + | ||
| 235 | + public void setGrazingSpecies(String grazingSpecies) { | ||
| 236 | + this.grazingSpecies = grazingSpecies; | ||
| 237 | + } | ||
| 238 | + | ||
| 239 | + public String getGrazingSource() { | ||
| 240 | + return grazingSource; | ||
| 241 | + } | ||
| 242 | + | ||
| 243 | + public void setGrazingSource(String grazingSource) { | ||
| 244 | + this.grazingSource = grazingSource; | ||
| 245 | + } | ||
| 246 | + | ||
| 247 | + public String getDensity() { | ||
| 248 | + return density; | ||
| 249 | + } | ||
| 250 | + | ||
| 251 | + public void setDensity(String density) { | ||
| 252 | + this.density = density; | ||
| 253 | + } | ||
| 254 | + | ||
| 255 | + public String getFeedName() { | ||
| 256 | + return feedName; | ||
| 257 | + } | ||
| 258 | + | ||
| 259 | + public void setFeedName(String feedName) { | ||
| 260 | + this.feedName = feedName; | ||
| 261 | + } | ||
| 262 | + | ||
| 263 | + public String getFeedProvide() { | ||
| 264 | + return feedProvide; | ||
| 265 | + } | ||
| 266 | + | ||
| 267 | + public void setFeedProvide(String feedProvide) { | ||
| 268 | + this.feedProvide = feedProvide; | ||
| 269 | + } | ||
| 270 | + | ||
| 271 | + public String getDiseaseDate() { | ||
| 272 | + return diseaseDate; | ||
| 273 | + } | ||
| 274 | + | ||
| 275 | + public void setDiseaseDate(String diseaseDate) { | ||
| 276 | + this.diseaseDate = diseaseDate; | ||
| 277 | + } | ||
| 278 | + | ||
| 279 | + public String getDiseaseSpecies() { | ||
| 280 | + return diseaseSpecies; | ||
| 281 | + } | ||
| 282 | + | ||
| 283 | + public void setDiseaseSpecies(String diseaseSpecies) { | ||
| 284 | + this.diseaseSpecies = diseaseSpecies; | ||
| 285 | + } | ||
| 286 | + | ||
| 287 | + public String getDiseaseSpecifications() { | ||
| 288 | + return diseaseSpecifications; | ||
| 289 | + } | ||
| 290 | + | ||
| 291 | + public void setDiseaseSpecifications(String diseaseSpecifications) { | ||
| 292 | + this.diseaseSpecifications = diseaseSpecifications; | ||
| 293 | + } | ||
| 294 | + | ||
| 295 | + public String getDailyDeath() { | ||
| 296 | + return dailyDeath; | ||
| 297 | + } | ||
| 298 | + | ||
| 299 | + public void setDailyDeath(String dailyDeath) { | ||
| 300 | + this.dailyDeath = dailyDeath; | ||
| 301 | + } | ||
| 302 | + | ||
| 303 | + public String getTotalDeath() { | ||
| 304 | + return totalDeath; | ||
| 305 | + } | ||
| 306 | + | ||
| 307 | + public void setTotalDeath(String totalDeath) { | ||
| 308 | + this.totalDeath = totalDeath; | ||
| 309 | + } | ||
| 310 | + | ||
| 311 | + public String getMedicineUsed() { | ||
| 312 | + return medicineUsed; | ||
| 313 | + } | ||
| 314 | + | ||
| 315 | + public void setMedicineUsed(String medicineUsed) { | ||
| 316 | + this.medicineUsed = medicineUsed; | ||
| 317 | + } | ||
| 318 | + | ||
| 319 | + public String getMedicineEffect() { | ||
| 320 | + return medicineEffect; | ||
| 321 | + } | ||
| 322 | + | ||
| 323 | + public void setMedicineEffect(String medicineEffect) { | ||
| 324 | + this.medicineEffect = medicineEffect; | ||
| 325 | + } | ||
| 326 | + | ||
| 327 | + public String getDiseaseCause() { | ||
| 328 | + return diseaseCause; | ||
| 329 | + } | ||
| 330 | + | ||
| 331 | + public void setDiseaseCause(String diseaseCause) { | ||
| 332 | + this.diseaseCause = diseaseCause; | ||
| 333 | + } | ||
| 334 | + | ||
| 335 | + public String getRemark() { | ||
| 336 | + return remark; | ||
| 337 | + } | ||
| 338 | + | ||
| 339 | + public void setRemark(String remark) { | ||
| 340 | + this.remark = remark; | ||
| 341 | + } | ||
| 342 | + | ||
| 343 | + public String getContactName() { | ||
| 344 | + return contactName; | ||
| 345 | + } | ||
| 346 | + | ||
| 347 | + public void setContactName(String contactName) { | ||
| 348 | + this.contactName = contactName; | ||
| 349 | + } | ||
| 350 | + | ||
| 351 | + public String getContactPhone() { | ||
| 352 | + return contactPhone; | ||
| 353 | + } | ||
| 354 | + | ||
| 355 | + public void setContactPhone(String contactPhone) { | ||
| 356 | + this.contactPhone = contactPhone; | ||
| 357 | + } | ||
| 358 | + | ||
| 359 | + public String getContactAddress() { | ||
| 360 | + return contactAddress; | ||
| 361 | + } | ||
| 362 | + | ||
| 363 | + public void setContactAddress(String contactAddress) { | ||
| 364 | + this.contactAddress = contactAddress; | ||
| 365 | + } | ||
| 366 | + | ||
| 367 | + public Integer getCreateTime() { | ||
| 368 | + return createTime; | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | + public void setCreateTime(Integer createTime) { | ||
| 372 | + this.createTime = createTime; | ||
| 373 | + } | ||
| 374 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.farming; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :起捕放养 | ||
| 8 | + * @Date: Created in 13:52 2016/12/6 | ||
| 9 | + * @Modified By: | ||
| 10 | + */ | ||
| 11 | +public class FarmingHarvest extends BaseBean { | ||
| 12 | + | ||
| 13 | + private Integer id; //主键id | ||
| 14 | + private Integer pondId; //塘口id | ||
| 15 | + private String pondName; //塘口名称 | ||
| 16 | + private Integer pondType; //塘口类型(0-外塘,1-水槽) | ||
| 17 | + private Integer userId; //用户id | ||
| 18 | + private String userLoginName; //用户登陆名 | ||
| 19 | + private Integer grazingDate; //放养日期 | ||
| 20 | + private String grazingSpeciesKey; //放养鱼种key | ||
| 21 | + private String grazingSpecies; //放养鱼种 | ||
| 22 | + private String grazingWeight; //放养重量 | ||
| 23 | + private String grazingNumber; //放养尾数 | ||
| 24 | + private String grazingSpecifications; //苗种规格 | ||
| 25 | + private String grazingSource; //苗种来源 | ||
| 26 | + private Integer catchingDate; //收捕日期 | ||
| 27 | + private String catchingWeight; //收获重量 | ||
| 28 | + private String catchingNumber; //收获尾数 | ||
| 29 | + private String salesAddress; //销往何处 | ||
| 30 | + private String remark; //备注 | ||
| 31 | + private Integer createTime; //创建时间 | ||
| 32 | + | ||
| 33 | + public Integer getId() { | ||
| 34 | + return id; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public void setId(Integer id) { | ||
| 38 | + this.id = id; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public Integer getPondId() { | ||
| 42 | + return pondId; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public void setPondId(Integer pondId) { | ||
| 46 | + this.pondId = pondId; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public String getPondName() { | ||
| 50 | + return pondName; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public void setPondName(String pondName) { | ||
| 54 | + this.pondName = pondName; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getUserId() { | ||
| 58 | + return userId; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public void setUserId(Integer userId) { | ||
| 62 | + this.userId = userId; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public String getUserLoginName() { | ||
| 66 | + return userLoginName; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public void setUserLoginName(String userLoginName) { | ||
| 70 | + this.userLoginName = userLoginName; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public Integer getGrazingDate() { | ||
| 74 | + return grazingDate; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + public void setGrazingDate(Integer grazingDate) { | ||
| 78 | + this.grazingDate = grazingDate; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public String getGrazingSpeciesKey() { | ||
| 82 | + return grazingSpeciesKey; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + public void setGrazingSpeciesKey(String grazingSpeciesKey) { | ||
| 86 | + this.grazingSpeciesKey = grazingSpeciesKey; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public String getGrazingSpecies() { | ||
| 90 | + return grazingSpecies; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public void setGrazingSpecies(String grazingSpecies) { | ||
| 94 | + this.grazingSpecies = grazingSpecies; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public String getGrazingWeight() { | ||
| 98 | + return grazingWeight; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public void setGrazingWeight(String grazingWeight) { | ||
| 102 | + this.grazingWeight = grazingWeight; | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + public String getGrazingNumber() { | ||
| 106 | + return grazingNumber; | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + public void setGrazingNumber(String grazingNumber) { | ||
| 110 | + this.grazingNumber = grazingNumber; | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + public String getGrazingSpecifications() { | ||
| 114 | + return grazingSpecifications; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + public void setGrazingSpecifications(String grazingSpecifications) { | ||
| 118 | + this.grazingSpecifications = grazingSpecifications; | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + public String getGrazingSource() { | ||
| 122 | + return grazingSource; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + public void setGrazingSource(String grazingSource) { | ||
| 126 | + this.grazingSource = grazingSource; | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | + public Integer getCatchingDate() { | ||
| 130 | + return catchingDate; | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + public void setCatchingDate(Integer catchingDate) { | ||
| 134 | + this.catchingDate = catchingDate; | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + public String getCatchingWeight() { | ||
| 138 | + return catchingWeight; | ||
| 139 | + } | ||
| 140 | + | ||
| 141 | + public void setCatchingWeight(String catchingWeight) { | ||
| 142 | + this.catchingWeight = catchingWeight; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + public String getCatchingNumber() { | ||
| 146 | + return catchingNumber; | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + public void setCatchingNumber(String catchingNumber) { | ||
| 150 | + this.catchingNumber = catchingNumber; | ||
| 151 | + } | ||
| 152 | + | ||
| 153 | + public String getSalesAddress() { | ||
| 154 | + return salesAddress; | ||
| 155 | + } | ||
| 156 | + | ||
| 157 | + public void setSalesAddress(String salesAddress) { | ||
| 158 | + this.salesAddress = salesAddress; | ||
| 159 | + } | ||
| 160 | + | ||
| 161 | + public String getRemark() { | ||
| 162 | + return remark; | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + public void setRemark(String remark) { | ||
| 166 | + this.remark = remark; | ||
| 167 | + } | ||
| 168 | + | ||
| 169 | + public Integer getCreateTime() { | ||
| 170 | + return createTime; | ||
| 171 | + } | ||
| 172 | + | ||
| 173 | + public void setCreateTime(Integer createTime) { | ||
| 174 | + this.createTime = createTime; | ||
| 175 | + } | ||
| 176 | + | ||
| 177 | + public Integer getPondType() { | ||
| 178 | + return pondType; | ||
| 179 | + } | ||
| 180 | + | ||
| 181 | + public void setPondType(Integer pondType) { | ||
| 182 | + this.pondType = pondType; | ||
| 183 | + } | ||
| 184 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.farming; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :药品管理 | ||
| 8 | + * @Date: Created in 13:53 2016/12/6 | ||
| 9 | + * @Modified By: | ||
| 10 | + */ | ||
| 11 | +public class FarmingMedication extends BaseBean { | ||
| 12 | + | ||
| 13 | + private Integer id; //主键id | ||
| 14 | + private Integer pondId; //塘口id | ||
| 15 | + private String pondName; //塘口名称 | ||
| 16 | + private Integer pondType; //塘口类型(0-外塘,1-水槽) | ||
| 17 | + private Integer userId; //用户id | ||
| 18 | + private String userLoginName; //用户登陆名 | ||
| 19 | + private Integer date; //日期 | ||
| 20 | + private String diseaseSymptoms; //病害症状 | ||
| 21 | + private String preventionMethods;//L预防方法 | ||
| 22 | + private String treatmentProcess;//治疗过程 | ||
| 23 | + private String medicineRecord; //用药记录 | ||
| 24 | + private String medicineNames; //药物名称 | ||
| 25 | + private String medicineIntroduce;//药性说明 | ||
| 26 | + private String medicineEffect; //L药物作用 | ||
| 27 | + private String medicineUsed; //用量用法 | ||
| 28 | + private String medicineSource; //来源 | ||
| 29 | + private String purchaseNumber; //采购数量 | ||
| 30 | + private String procurement; //采购人 | ||
| 31 | + private String remark; //备注 | ||
| 32 | + private Integer createTime; //创建时间 | ||
| 33 | + | ||
| 34 | + public Integer getId() { | ||
| 35 | + return id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setId(Integer id) { | ||
| 39 | + this.id = id; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public Integer getPondId() { | ||
| 43 | + return pondId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setPondId(Integer pondId) { | ||
| 47 | + this.pondId = pondId; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getPondName() { | ||
| 51 | + return pondName; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setPondName(String pondName) { | ||
| 55 | + this.pondName = pondName; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public Integer getUserId() { | ||
| 59 | + return userId; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setUserId(Integer userId) { | ||
| 63 | + this.userId = userId; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getUserLoginName() { | ||
| 67 | + return userLoginName; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setUserLoginName(String userLoginName) { | ||
| 71 | + this.userLoginName = userLoginName; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public Integer getDate() { | ||
| 75 | + return date; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setDate(Integer date) { | ||
| 79 | + this.date = date; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public String getDiseaseSymptoms() { | ||
| 83 | + return diseaseSymptoms; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setDiseaseSymptoms(String diseaseSymptoms) { | ||
| 87 | + this.diseaseSymptoms = diseaseSymptoms; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getPreventionMethods() { | ||
| 91 | + return preventionMethods; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setPreventionMethods(String preventionMethods) { | ||
| 95 | + this.preventionMethods = preventionMethods; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getTreatmentProcess() { | ||
| 99 | + return treatmentProcess; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setTreatmentProcess(String treatmentProcess) { | ||
| 103 | + this.treatmentProcess = treatmentProcess; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getMedicineRecord() { | ||
| 107 | + return medicineRecord; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setMedicineRecord(String medicineRecord) { | ||
| 111 | + this.medicineRecord = medicineRecord; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getMedicineNames() { | ||
| 115 | + return medicineNames; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setMedicineNames(String medicineNames) { | ||
| 119 | + this.medicineNames = medicineNames; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public String getMedicineIntroduce() { | ||
| 123 | + return medicineIntroduce; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setMedicineIntroduce(String medicineIntroduce) { | ||
| 127 | + this.medicineIntroduce = medicineIntroduce; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public String getMedicineEffect() { | ||
| 131 | + return medicineEffect; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setMedicineEffect(String medicineEffect) { | ||
| 135 | + this.medicineEffect = medicineEffect; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public String getMedicineUsed() { | ||
| 139 | + return medicineUsed; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public void setMedicineUsed(String medicineUsed) { | ||
| 143 | + this.medicineUsed = medicineUsed; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public String getMedicineSource() { | ||
| 147 | + return medicineSource; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public void setMedicineSource(String medicineSource) { | ||
| 151 | + this.medicineSource = medicineSource; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public String getPurchaseNumber() { | ||
| 155 | + return purchaseNumber; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public void setPurchaseNumber(String purchaseNumber) { | ||
| 159 | + this.purchaseNumber = purchaseNumber; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public String getProcurement() { | ||
| 163 | + return procurement; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public void setProcurement(String procurement) { | ||
| 167 | + this.procurement = procurement; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public String getRemark() { | ||
| 171 | + return remark; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + public void setRemark(String remark) { | ||
| 175 | + this.remark = remark; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + public Integer getCreateTime() { | ||
| 179 | + return createTime; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public void setCreateTime(Integer createTime) { | ||
| 183 | + this.createTime = createTime; | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + public Integer getPondType() { | ||
| 187 | + return pondType; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + public void setPondType(Integer pondType) { | ||
| 191 | + this.pondType = pondType; | ||
| 192 | + } | ||
| 193 | +} |
| 1 | +package com.zhonglai.luhui.runingfish.domain.farming; | ||
| 2 | + | ||
| 3 | +import com.zhonglai.luhui.runingfish.dto.BaseBean; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * @Author: fuchao | ||
| 7 | + * @Description :水质检测 | ||
| 8 | + * @Date: Created in 13:54 2016/12/6 | ||
| 9 | + * @Modified By: | ||
| 10 | + */ | ||
| 11 | +public class FarmingWater extends BaseBean { | ||
| 12 | + | ||
| 13 | + private Integer id; //水质监测id主键 | ||
| 14 | + private Integer pondId; //塘口id主键 | ||
| 15 | + private String pondName; //塘口名称 | ||
| 16 | + private Integer pondType; //塘口类型(0-外塘,1-水槽) | ||
| 17 | + private Integer userId; //用户id主键 | ||
| 18 | + private String userLoginName; //用户登录名 | ||
| 19 | + private Integer date; //日期 | ||
| 20 | + private String waterColor; //水色 | ||
| 21 | + private String waterColorKey; //水色key | ||
| 22 | + private String waterTemperature; //水温 | ||
| 23 | + private String oxy; //溶氧值 | ||
| 24 | + private String salt; //盐度值 | ||
| 25 | + private String ph; //ph值 | ||
| 26 | + private String ammonia; //氨氮值 | ||
| 27 | + private String nitrite; //亚硝酸盐值 | ||
| 28 | + private String remark; //备注 | ||
| 29 | + private Integer createTime; //创建时间 | ||
| 30 | + | ||
| 31 | + public Integer getId() { | ||
| 32 | + return id; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public void setId(Integer id) { | ||
| 36 | + this.id = id; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public Integer getPondId() { | ||
| 40 | + return pondId; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public void setPondId(Integer pondId) { | ||
| 44 | + this.pondId = pondId; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public String getPondName() { | ||
| 48 | + return pondName; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setPondName(String pondName) { | ||
| 52 | + this.pondName = pondName; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public Integer getUserId() { | ||
| 56 | + return userId; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public void setUserId(Integer userId) { | ||
| 60 | + this.userId = userId; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public String getUserLoginName() { | ||
| 64 | + return userLoginName; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public void setUserLoginName(String userLoginName) { | ||
| 68 | + this.userLoginName = userLoginName; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public Integer getDate() { | ||
| 72 | + return date; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public void setDate(Integer date) { | ||
| 76 | + this.date = date; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String getWaterColor() { | ||
| 80 | + return waterColor; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public void setWaterColor(String waterColor) { | ||
| 84 | + this.waterColor = waterColor; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public String getWaterColorKey() { | ||
| 88 | + return waterColorKey; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public void setWaterColorKey(String waterColorKey) { | ||
| 92 | + this.waterColorKey = waterColorKey; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + public String getWaterTemperature() { | ||
| 96 | + return waterTemperature; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public void setWaterTemperature(String waterTemperature) { | ||
| 100 | + this.waterTemperature = waterTemperature; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + public String getOxy() { | ||
| 104 | + return oxy; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public void setOxy(String oxy) { | ||
| 108 | + this.oxy = oxy; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public String getSalt() { | ||
| 112 | + return salt; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public void setSalt(String salt) { | ||
| 116 | + this.salt = salt; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public String getPh() { | ||
| 120 | + return ph; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public void setPh(String ph) { | ||
| 124 | + this.ph = ph; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public String getAmmonia() { | ||
| 128 | + return ammonia; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public void setAmmonia(String ammonia) { | ||
| 132 | + this.ammonia = ammonia; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public String getNitrite() { | ||
| 136 | + return nitrite; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + public void setNitrite(String nitrite) { | ||
| 140 | + this.nitrite = nitrite; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + public String getRemark() { | ||
| 144 | + return remark; | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + public void setRemark(String remark) { | ||
| 148 | + this.remark = remark; | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + public Integer getCreateTime() { | ||
| 152 | + return createTime; | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + public void setCreateTime(Integer createTime) { | ||
| 156 | + this.createTime = createTime; | ||
| 157 | + } | ||
| 158 | + | ||
| 159 | + public Integer getPondType() { | ||
| 160 | + return pondType; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + public void setPondType(Integer pondType) { | ||
| 164 | + this.pondType = pondType; | ||
| 165 | + } | ||
| 166 | +} |
-
请 注册 或 登录 后发表评论