Blame view

PermissionsDO.java 740 Bytes
涂亚平 committed
1 2 3 4 5 6
package com.subsidy.model;

import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
涂亚平 committed
7
import java.time.LocalDateTime;
涂亚平 committed
8 9 10 11 12
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
涂亚平 committed
13
 * 权限表
涂亚平 committed
14 15 16
 * </p>
 *
 * @author Tuyp
涂亚平 committed
17
 * @since 2025-01-08
涂亚平 committed
18 19 20
 */
@Data
@EqualsAndHashCode(callSuper = true)
涂亚平 committed
21 22
@TableName("permissions")
public class PermissionsDO extends BaseModel {
涂亚平 committed
23 24 25 26 27 28

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

涂亚平 committed
29 30 31
    /**
     * 父级ID
     */
涂亚平 committed
32 33
    private Long parentId;

涂亚平 committed
34 35 36 37
    /**
     * 名称
     */
    private String name;
涂亚平 committed
38 39

}