package org.dromara.member.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.member.domain.AppUserRole;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * App端用户和角色关联视图对象 app_user_role
 *
 * @author pengles
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppUserRole.class)
public class AppUserRoleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * App用户ID
     */
    @ExcelProperty(value = "App用户ID")
    private Long userId;

    /**
     * App角色ID
     */
    @ExcelProperty(value = "App角色ID")
    private Long roleId;

    /**
     * 创建者
     */
    @ExcelProperty(value = "创建者")
    private Long createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    @ExcelProperty(value = "更新者")
    private Long updateBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

}