JPA注释,内嵌数据对象

@Data
@Embeddable
@NoArgsConstructor @AllArgsConstructor
@JsonNaming(value = LowerCaseWithUnderscoresStrategy.class)
public class AccountHolder { @NonNull @NotNull
@Column(nullable = false)
@Enumerated(EnumType.STRING)
private AccountHolderType accountHolderType; @NotNull @NonNull
@Column(nullable = false)
private String accountHolderId; }
上一篇:iOS开发HTTPS实现之信任SSL证书和自签名证书


下一篇:.Net调用百度地图API和LBS API的办法