package com.sonymusic.hierdispatcher.model;

import java.time.LocalDateTime;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;

@Data
@Document(collection = "group_process_status")
public class GroupProcessStatus {
    /** Unique identifier for the group process status document. */
    @Id
    private String id;

    /** Associated audit log document identifier. */
    private String auditLogDocumentId;

    /** Product identifier for this group process record. */
    private String productId;

    /** Record type for the group process entry. */
    private String recordType;

    /** Current status for the group process. */
    private String status;

    /** Track number carried by this record. */
    private String trackNo;

    /** Track extension carried by this record. */
    private String trackExt;

    /** Process type for this entry. */
    private ProcessType type;

    /** Timestamp of the last update. */
    private LocalDateTime updatedDt;
}
