refactor: entity serialization 및 MinMaincode ids 적용
parent
644678b9ec
commit
752a8d8b36
@ -0,0 +1,27 @@
|
|||||||
|
package com.xit.biz.ctgy.entity.ids;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@EqualsAndHashCode
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class MinMaincodePK implements Serializable {
|
||||||
|
private static final long SerialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "", example = " ", description = " ")
|
||||||
|
@Column(name = "c1", nullable = false, length = 8)
|
||||||
|
private String c1;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "", example = " ", description = " ")
|
||||||
|
@Column(name = "c2", nullable = false, length = 8)
|
||||||
|
private String c2;
|
||||||
|
|
||||||
|
@Schema(required = true, title = "", example = " ", description = " ")
|
||||||
|
@Column(name = "c3", nullable = false, length = 8)
|
||||||
|
private String c3;
|
||||||
|
}
|
Loading…
Reference in New Issue