package com.arms.api.clientcase.model;

import com.arms.api.admin.indexdata.annotation.MonthBackup;
import com.arms.egovframework.javaservice.esframework.model.entity.BaseEntity;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Document(indexName = "clientcase")
@MonthBackup
public class ClientCaseEntity implements BaseEntity {


    @Id
    @Field(type = FieldType.Keyword)
    private String c_id;

    @Field(type = FieldType.Text)
    @Setter
    private String c_clientcase_contents;

    @Field(type = FieldType.Text)
    @Setter
    private String c_clientcase_thumbnail_image;


}
