https://lob-dev.tistory.com/entry/객체-변환하기-자바-코드-매핑-vs-MapStruct-vs-ModelMapper
https://pythonq.com/so/java/538376
@Mapping ( target = , source ) // 이렇게 하시면 더보기 편합니다
@OneToMany(mappedBy = "post", orphanRemoval = true)
private List<Authority> authorities = new ArrayList<>();
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "author_id")
private User author;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "state_id")
private PostState state;
@NotNull
@Column(nullable = false)
private String title;
@Column(name = "preview_text")
private String previewText;
@Column(name = "available_at")
@Temporal(TemporalType.DATE)
private Date availableAt;
@Embedded
private Point location;
////////////
private String title;
private String previewText;
private Point location;
private String availableAt;
private List<String> authortities;
private List<OrderImage> imageFiles;
private String content;
private String authorNickname;