package cokr.xit.ens.modules.ktsigntalk.direct.model.config;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import javax.persistence.Column;
import javax.validation.Valid;

@Getter
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "Document")
public class Document extends DocumentConfKtSt {


    @Schema(required = true, title = "고지서 고유식별자(외부)", example = " ")
    @Column(name = "src_key", nullable = false, length = 50)
    private String clientSrcKey;

    @Schema(required = false, title = "아이핀CI값", example = " ")
    @Column(name = "ci", nullable = true, length = 128)
    private String ci;


    @Valid
    @Schema(required = false)
    private XitProperty xit_property;
}
