package com.schisandra.auth.infra.basic.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (SchisandraAuthPermission)实体类
 *
 * @author makejava
 * @since 2024-04-11 13:00:10
 */
@Data
@Table(value = "schisandra_auth_permission")
public class SchisandraAuthPermission implements Serializable {

    @Id(value = "id", keyType = KeyType.Auto)
    private Long id;

    private String name;

    private Long parentId;

    private Integer type;

    private String menuUrl;

    private Integer status;

    private Integer show;

    private String icon;

    private String permissionKey;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * 更新时间
     */
    private Date updateTime;

    @Column(isLogicDelete = true)
    private Integer isDeleted;


}

