package com.mmc.iuav.user.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author small
 * @Date 2023/7/12 13:29
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserRoleRel {
    /**
     * 角色与账号关联表id
     */
    private Integer id;
    /**
     * 账号关联角色id
     */
    private Integer userAccountId;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 角色与账号关联表id
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
