|
@ -1,10 +1,7 @@
|
|
package com.yihu.wlyy.entity.dict;
|
|
package com.yihu.wlyy.entity.dict;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
|
import javax.persistence.Id;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
|
|
|
|
/**
|
|
/**
|
|
@ -25,7 +22,7 @@ public class SystemDictList implements java.io.Serializable {
|
|
private String relationColCode;
|
|
private String relationColCode;
|
|
private String relationColValue;
|
|
private String relationColValue;
|
|
private String relationColExtend;
|
|
private String relationColExtend;
|
|
private String id;
|
|
|
|
|
|
private Integer id;
|
|
// Constructors
|
|
// Constructors
|
|
|
|
|
|
/** default constructor */
|
|
/** default constructor */
|
|
@ -56,15 +53,14 @@ public class SystemDictList implements java.io.Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
// Property accessors
|
|
// Property accessors
|
|
@GenericGenerator(name = "generator", strategy = "uuid")
|
|
|
|
@Id
|
|
@Id
|
|
@GeneratedValue(generator = "generator")
|
|
|
|
@Column(name = "id", unique = true, nullable = false, length = 50)
|
|
|
|
public String getId() {
|
|
|
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
|
@Column(name = "id", unique = true, nullable = false)
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
return id;
|
|
}
|
|
}
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
this.id = id;
|
|
}
|
|
}
|
|
|
|
|