
package dev.sonpx.loyalty.mcp.reward.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.time.Instant;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by SonPhung on Wednesday, 18-Oct-2023
 */
@Getter
@Setter
public abstract class Fw implements Serializable {

    @JsonIgnore
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    protected Long recordNo;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected String status;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected String lastUpdateBy;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected Instant lastUpdateDate;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected String lastApproveBy;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected Instant lastApproveDate;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected String lastUpdateByName;

    @JsonIgnore
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    protected String lastApproveByName;
}

