package com.writeoff.module.system.model;

public class UserRoleHistory {
    private Long id;
    private Long userId;
    private Long oldRoleId;
    private Long newRoleId;
    private String actionType;
    private String createdAt;

    public UserRoleHistory(Long id, Long userId, Long oldRoleId, Long newRoleId, String actionType, String createdAt) {
        this.id = id;
        this.userId = userId;
        this.oldRoleId = oldRoleId;
        this.newRoleId = newRoleId;
        this.actionType = actionType;
        this.createdAt = createdAt;
    }

    public Long getId() {
        return id;
    }

    public Long getUserId() {
        return userId;
    }

    public Long getOldRoleId() {
        return oldRoleId;
    }

    public Long getNewRoleId() {
        return newRoleId;
    }

    public String getActionType() {
        return actionType;
    }

    public String getCreatedAt() {
        return createdAt;
    }
}
