mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-11 19:12:01 +08:00
统一代码风格
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.hxkj.common.entity.setting;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 字典数据实体
|
||||
*/
|
||||
@Data
|
||||
public class DictData implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
private Integer id; // 主键
|
||||
private Integer typeId; // 类型
|
||||
private String key; // 键名
|
||||
private String value; // 数值
|
||||
private String remark; // 备注
|
||||
private Integer sort; // 排序
|
||||
private Integer status; // 状态: 0=停用, 1-正常
|
||||
private Integer isDelete; // 是否删除: 0=否, 1=是
|
||||
private Long createTime; // 创建时间
|
||||
private Long updateTime; // 更新时间
|
||||
private Long deleteTime; // 删除时间
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.hxkj.common.entity.setting;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 字典类型实体
|
||||
*/
|
||||
@Data
|
||||
public class DictType implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
private Integer id; // 字典主键
|
||||
private String dictName; // 字典名称
|
||||
private String dictType; // 字典类型
|
||||
private String dictRemark; // 字典备注
|
||||
private Integer dictStatus; // 字典状态: 0=停用, 1=正常
|
||||
private Integer isDelete; // 是否删除: 0=否, 1=是
|
||||
private Long createTime; // 创建时间
|
||||
private Long updateTime; // 更新时间
|
||||
private Long deleteTime; // 删除时间
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.hxkj.common.mapper.setting;
|
||||
|
||||
import com.hxkj.common.core.basics.IBaseMapper;
|
||||
import com.hxkj.common.entity.setting.DictData;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 字典数据Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictDataMapper extends IBaseMapper<DictData> {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.hxkj.common.mapper.setting;
|
||||
|
||||
import com.hxkj.common.core.basics.IBaseMapper;
|
||||
import com.hxkj.common.entity.setting.DictType;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 字典类型Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DictTypeMapper extends IBaseMapper<DictType> {
|
||||
}
|
||||
Reference in New Issue
Block a user