Commit fe90711a by 吕明尚

修改实体类

parent 7819aded
package share.system.domain; package share.system.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
...@@ -25,6 +27,7 @@ public class GiftAmountLog extends BaseEntity { ...@@ -25,6 +27,7 @@ public class GiftAmountLog extends BaseEntity {
/** /**
* ID * ID
*/ */
@TableId(type = IdType.AUTO)
private Long id; private Long id;
/** /**
......
package share.system.domain; package share.system.domain;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
...@@ -27,6 +25,7 @@ public class RechargeAmountLog extends BaseEntity { ...@@ -27,6 +25,7 @@ public class RechargeAmountLog extends BaseEntity {
/** /**
* ID * ID
*/ */
@TableId(type = IdType.AUTO)
private Long id; private Long id;
/** /**
......
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