| 12345678910111213141516171819202122232425262728 |
- package com.miekir.shibei.bean;
- import javax.persistence.*;
- /**
- * Copyright (C), 2019-2020, Miekir
- *
- * @author Miekir
- * @date 2020/8/13 20:20
- * Description: json
- */
- @Entity
- @Table(name = "t_json", schema = "shibei", catalog = "")
- public class JsonBean {
- @Id
- @GeneratedValue(strategy= GenerationType.AUTO)
- @Column(name = "id", nullable = false, insertable = true, updatable = false)
- public long id;
- @Basic
- @Column(name = "email", nullable = true, insertable = true, updatable = true)
- public String email;
- @Basic
- @Column(columnDefinition = "MEDIUMTEXT", name = "json", nullable = true, insertable = true, updatable = true)
- public String json;
- }
|