You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
459 B
24 lines
459 B
package com.ceis.convert.entity;
|
|
|
|
import lombok.Data;
|
|
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* @version 1.0
|
|
* @Auther: nelson
|
|
* @company 北京中经网软件有限公司
|
|
* @Date: 2020/9/14
|
|
*/
|
|
@Data
|
|
@MappedSuperclass
|
|
public class IDEntity implements Serializable {
|
|
/**
|
|
* 主键
|
|
*/
|
|
@Id
|
|
@Column(columnDefinition = "INT UNSIGNED")
|
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
|
protected Integer id;
|
|
}
|
|
|