Last active
May 18, 2021 15:59
-
-
Save alexandre-jacquot-ptl/9e99834ea56de2555a92e548620fcce6 to your computer and use it in GitHub Desktop.
r2dbc tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Table | |
@Getter | |
@Setter | |
@Accessors(chain = true) | |
public class Tag { | |
@Id | |
private Long id; | |
@Version | |
private Long version; | |
@NotBlank | |
@Size(max=100) | |
private String name; | |
@CreatedDate | |
private LocalDateTime createdDate; | |
@LastModifiedDate | |
private LocalDateTime lastModifiedDate; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment