Commit fd2b8f67 by 丁伟峰

entity指定对应的数据库表

1 parent cef05fb8
......@@ -2,10 +2,7 @@ package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
......@@ -16,6 +13,7 @@ import java.util.Date;
*/
@Entity
@Data
@Table(name = "capacity_team_stat")
public class CapacityTeamStatEntity implements Serializable {
private static final long serialVersionUID = 1L;
......
......@@ -2,15 +2,13 @@ package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@Data
@Entity
@Table(name="layer_info")
public class LayerInfoEntity implements Serializable {
private static final long serialVersionUID = 1L;
......
......@@ -18,14 +18,12 @@ package com.alibaba.cloud.integration.order.entity;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Data
@Table(name="order_request")
public class OrderRequestEntity {
@Id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!