package com.bailuntec.domain.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DcBaseBailuncategory {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_id
     *
     * @mbg.generated
     */
    private Integer cId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_parentid
     *
     * @mbg.generated
     */
    private Integer cParentid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_ename
     *
     * @mbg.generated
     */
    private String cEname;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_cname
     *
     * @mbg.generated
     */
    private String cCname;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_sort
     *
     * @mbg.generated
     */
    private Integer cSort;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_level
     *
     * @mbg.generated
     */
    private Integer cLevel;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.path
     *
     * @mbg.generated
     */
    private String path;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.c_name
     *
     * @mbg.generated
     */
    private String cName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.gmt_create
     *
     * @mbg.generated
     */
    private LocalDateTime gmtCreate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.gmt_modified
     *
     * @mbg.generated
     */
    private LocalDateTime gmtModified;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_bailuncategory.has_delete
     *
     * @mbg.generated
     */
    @JSONField(name = "isDelete")
    private Integer hasDelete;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_bailuncategory
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cId=").append(cId);
        sb.append(", cParentid=").append(cParentid);
        sb.append(", cEname=").append(cEname);
        sb.append(", cCname=").append(cCname);
        sb.append(", cSort=").append(cSort);
        sb.append(", cLevel=").append(cLevel);
        sb.append(", path=").append(path);
        sb.append(", cName=").append(cName);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", hasDelete=").append(hasDelete);
        sb.append("]");
        return sb.toString();
    }
}