package com.ssyf.module.auth.domain.vo;

import com.ssyf.common.core.constants.SystemConstants;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
* @author: auth
* @date: 2022-12-12
*/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class RoleVo implements Serializable {
    private Integer id;

    /**
     * 编码
     */
    private String uid;

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String notes;

    @JsonFormat(pattern = SystemConstants.DATE_TIME_FORMAT, timezone = SystemConstants.DATE_TIME_TIMEZONE)
    private LocalDateTime createdTime;

    private String creatorId;

    private String creatorName;

}
