23 lines
568 B
Plaintext
23 lines
568 B
Plaintext
package ${entity.entityPackage};
|
|
|
|
import cn.lili.base.BaseEntity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModel;
|
|
import lombok.Data;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
|
|
/**
|
|
* @author ${entity.author}
|
|
*/
|
|
@Data
|
|
@Entity
|
|
@Table(name = "${entity.tableName}")
|
|
@TableName("${entity.tableName}")
|
|
@ApiModel(value = "${entity.description}")
|
|
public class ${entity.className} extends BaseEntity {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
} |