refactor(device): 重构设备维护实体类结构
- 移除未使用的 LocalDateTime 导入
- 优化类属性注解配置
- 调整 getter/setter 方法顺序
- 统一代码格式化风格
- 清理冗余的注释信息
- 优化字段验证注解位置
| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 7003 |
| | | port: 9001 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://localhost:3306/product-inventory-management-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://localhost:3306/product-inventory-management-ygcy?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | # 从库数据源 |
| | |
| | | # Spring配置 |
| | | spring: |
| | | profiles: |
| | | active: ygcy |
| | | active: dev |