数据库字段初始化属性 赋值longtext

yun-zuoyi
WYnneaoapc 6 years ago
parent 23b3ae88e5
commit 88d480403c

@ -10,6 +10,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
@ -39,6 +40,7 @@ public class MesRoute extends BaseBean {
@ApiParam("流程类型 10-扫描类型 20-监控类型") @ApiParam("流程类型 10-扫描类型 20-监控类型")
private Integer routeType; private Integer routeType;
@Lob
@Column(name = "POSITION") @Column(name = "POSITION")
@ApiParam("GOJS位置") @ApiParam("GOJS位置")
private String position; private String position;

@ -10,6 +10,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table; import javax.persistence.Table;
/** /**
@ -35,6 +36,7 @@ public class MesRoute extends BaseBean {
@ApiParam("流程名称") @ApiParam("流程名称")
private String routeName; private String routeName;
@Lob
@Column(name = "POSITION") @Column(name = "POSITION")
@ApiParam("GOJS位置") @ApiParam("GOJS位置")
private String position; private String position;

Loading…
Cancel
Save