package com.starry.admin.modules.personnel.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.starry.common.domain.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 管理员管理对象 play_personnel_admin_info
 *
 * @author admin
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("play_personnel_admin_info")
public class PlayPersonnelAdminInfoEntity extends BaseEntity<PlayPersonnelAdminInfoEntity> {

    /**
     * UUID
     */
    private String id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 账号ID
     */
    private String sysUserId;

    /**
     * 用户账号
     */
    private String sysUserCode;

    /**
     * 分组名称
     */
    private String adminName;

    /**
     * 责任人
     */
    private String leaderName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime addTime;

}
