|
|
@@ -0,0 +1,130 @@
|
|
|
+package com.dk.oauth.entity;
|
|
|
+
|
|
|
+import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
|
+import com.baomidou.mybatisplus.annotation.*;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import com.dk.common.infrastructure.annotaiton.ExportTitle;
|
|
|
+import com.dk.common.infrastructure.handler.*;
|
|
|
+import com.dk.common.model.pojo.PageInfo;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 功能频率
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+@Accessors(chain = true)
|
|
|
+@ExportTitle("功能频率")
|
|
|
+@TableName(value = "t_a_menu_frequency", autoResultMap = true,schema = "dkic_a")
|
|
|
+@ApiModel(value="实体类:功能频率", description="表名:t_a_menu_frequency")
|
|
|
+public class MenuFrequency implements Serializable {
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 数据库字段
|
|
|
+ */
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 功能菜单
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "功能菜单")
|
|
|
+ @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
+ private String menuUuid;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业Id
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ @Excel(name = "企业Id")
|
|
|
+ @ApiModelProperty(value = "企业Id")
|
|
|
+ private Integer cpId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 应用代码
|
|
|
+ */
|
|
|
+ @Excel(name = "应用代码")
|
|
|
+ @ApiModelProperty(value = "应用代码")
|
|
|
+ private String appCode;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 次数
|
|
|
+ */
|
|
|
+ @Excel(name = "次数")
|
|
|
+ @ApiModelProperty(value = "次数")
|
|
|
+ private Integer qty;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改时间 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
|
|
|
+ @ApiModelProperty(value = "修改时间 (触发器自动处理)")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @TableField(typeHandler = TimestampTypeHandler.class)
|
|
|
+ private LocalDateTime opUpdateTime;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改用户 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "修改用户 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "修改用户 (触发器自动处理)")
|
|
|
+ @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
+ private String opUpdateUserId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据操作应用 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据操作应用 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
|
|
|
+ private String opAppCode;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据时间戳 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据时间戳 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @TableField(typeHandler = TimestampTypeHandler.class)
|
|
|
+ private LocalDateTime opTimestamp;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据操作数据库用户 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据操作数据库用户 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
|
|
|
+ private String opDbUser;
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 相关属性
|
|
|
+ * @TableField(exist = false)
|
|
|
+ */
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 关联属性 + 查询条件
|
|
|
+ * @TableField(exist = false)
|
|
|
+ */
|
|
|
+
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+}
|