package com.caliverse.admin.Indicators.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document(collection = "item")
public class ItemDetailLogInfo extends LogInfoBase{
    private String id;
    private String logDay;
    private String logTime;
    private String accountId;
    private String userGuid;
    private String userNickname;
    private String tranId;
    private String action;
    private Integer itemId;
    private String itemName;
    private String itemTypeLarge;
    private String itemTypeSmall;
    private String countDeltaType;
    private Integer deltaCount;
    private Integer stackCount;

    public ItemDetailLogInfo(String id,
                             String logDay,
                             String accountId,
                             String userGuid,
                             String userNickname,
                             String tranId,
                             String action,
                             String logTime,
                             Integer itemId,
                             String itemName,
                             String itemTypeLarge,
                             String itemTypeSmall,
                             String countDeltaType,
                             Integer deltaCount,
                             Integer stackCount
    ) {
        super(StatisticsType.ITEM);

        this.id = id;
        this.logDay = logDay;
        this.accountId = accountId;
        this.userGuid = userGuid;
        this.userNickname = userNickname;
        this.tranId = tranId;
        this.action = action;
        this.logTime = logTime;
        this.itemId = itemId;
        this.itemName = itemName;
        this.itemTypeLarge = itemTypeLarge;
        this.itemTypeSmall = itemTypeSmall;
        this.countDeltaType = countDeltaType;
        this.deltaCount = deltaCount;
        this.stackCount = stackCount;
    }

}
