|
|
|
@ -1,6 +1,7 @@ |
|
|
|
package bc.mm.mis.core.bean; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField; |
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty; |
|
|
|
|
|
|
|
import javax.persistence.*; |
|
|
|
|
|
|
|
@ -14,13 +15,14 @@ public class Country { |
|
|
|
private String name; |
|
|
|
|
|
|
|
@Column(name = "country_code") |
|
|
|
@JSONField(name = "country_code") |
|
|
|
@JsonProperty("country_code") |
|
|
|
//@JSONField(name = "country_code")
|
|
|
|
private String countryCode; |
|
|
|
|
|
|
|
private Integer order; |
|
|
|
|
|
|
|
@Column(name = "en_name") |
|
|
|
@JSONField (name = "en_name") |
|
|
|
@JsonProperty("en_name") |
|
|
|
private String enName; |
|
|
|
|
|
|
|
public Integer getId() { |
|
|
|
@ -47,6 +49,7 @@ public class Country { |
|
|
|
this.name = name; |
|
|
|
} |
|
|
|
|
|
|
|
@JSONField(name = "country_code") |
|
|
|
public String getCountryCode() { |
|
|
|
return countryCode; |
|
|
|
} |
|
|
|
|