|
|
@ -1,5 +1,7 @@ |
|
|
package bc.mm.mis.core.bean; |
|
|
package bc.mm.mis.core.bean; |
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField; |
|
|
|
|
|
|
|
|
import javax.persistence.*; |
|
|
import javax.persistence.*; |
|
|
|
|
|
|
|
|
@Entity |
|
|
@Entity |
|
|
@ -12,11 +14,13 @@ public class Country { |
|
|
private String name; |
|
|
private String name; |
|
|
|
|
|
|
|
|
@Column(name = "country_code") |
|
|
@Column(name = "country_code") |
|
|
|
|
|
@JSONField(name = "country_code") |
|
|
private String countryCode; |
|
|
private String countryCode; |
|
|
|
|
|
|
|
|
private Integer order; |
|
|
private Integer order; |
|
|
|
|
|
|
|
|
@Column(name = "en_name") |
|
|
@Column(name = "en_name") |
|
|
|
|
|
@JSONField (name = "en_name") |
|
|
private String enName; |
|
|
private String enName; |
|
|
|
|
|
|
|
|
public Integer getId() { |
|
|
public Integer getId() { |
|
|
|