Commit 401b268c authored by zhangwanglin's avatar zhangwanglin

序列

parent d63b2960
package com.hungraim.ltc.pojo.entity.system; package com.hungraim.ltc.pojo.entity.system;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -15,9 +13,10 @@ import java.util.List; ...@@ -15,9 +13,10 @@ import java.util.List;
*/ */
@Data @Data
@TableName("LTC_RESOURCE") @TableName("LTC_RESOURCE")
@KeySequence("SEQUENCE_RESOURCE_ID")
public class SystemResource { public class SystemResource {
@TableId @TableId(value = "RESOURCE_ID", type = IdType.INPUT)
private Long resourceId; private Long resourceId;
private String resourceName; private String resourceName;
private String resourceUrl; private String resourceUrl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment