package com.njcn.gather.tool.addledger.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.mybatisplus.bo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 台账树节点。
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cs_ledger")
public class AddLedgerLedgerPO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("Id")
    private String id;

    @TableField("Pid")
    private String pid;

    @TableField("Pids")
    private String pids;

    @TableField("Name")
    private String name;

    @TableField("Level")
    private Integer level;

    @TableField("Sort")
    private Integer sort;

    @TableField("Remark")
    private String remark;

    @TableField("State")
    private Integer state;
}
