package cn.ibizlab.core.uaa.domain;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import java.io.Serializable;
import lombok.Data;
import org.springframework.data.annotation.Transient;


import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;

/**
 * 实体[系统菜单项]
 */
@Data
@TableName(value = "IBZPSAPPMENUITEM",resultMap = "SYS_PSAPPMENUITEMResultMap")
public class SYS_PSAPPMENUITEM extends EntityMP implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统菜单项标识
     */
    @DEField(isKeyField=true)
    @TableId(value= "sys_psappmenuitemid",type=IdType.UUID)
    @JSONField(name = "appmenuitemid")
    @JsonProperty("appmenuitemid")
    private String appmenuitemid;
    /**
     * 系统菜单项名称
     */
    @TableField(value = "sys_psappmenuitemname")
    @JSONField(name = "appmenuitemname")
    @JsonProperty("appmenuitemname")
    private String appmenuitemname;
    /**
     * 系统应用标识
     */
    @TableField(value = "psappid")
    @JSONField(name = "psappid")
    @JsonProperty("psappid")
    private String psappid;
    /**
     * 系统应用名称
     */
    @TableField(value = "psappname")
    @JSONField(name = "psappname")
    @JsonProperty("psappname")
    private String psappname;
    /**
     * 系统菜单标识
     */
    @TableField(value = "psappmenuid")
    @JSONField(name = "psappmenuid")
    @JsonProperty("psappmenuid")
    private String psappmenuid;
    /**
     * 系统菜单名称
     */
    @TableField(value = "psappmenuname")
    @JSONField(name = "psappmenuname")
    @JsonProperty("psappmenuname")
    private String psappmenuname;
    /**
     * 是否为叶子节点（用于菜单）
     */
    @TableField(value = "isleaf")
    @JSONField(name = "isleaf")
    @JsonProperty("isleaf")
    private Integer isleaf;
    /**
     * 实体标识
     */
    @TableField(value = "pssystemid")
    @JSONField(name = "pssystemid")
    @JsonProperty("pssystemid")
    private String pssystemid;
    /**
     * 系统资源标识
     */
    @TableField(value = "permissionid")
    @JSONField(name = "permissionid")
    @JsonProperty("permissionid")
    private String permissionid;
    /**
     * 父项资源标识
     */
    @TableField(value = "p_permissionid")
    @JSONField(name = "parentpermissionid")
    @JsonProperty("parentpermissionid")
    private String parentpermissionid;
    /**
     * 建立时间
     */
    @DEField(preType = DEPredefinedFieldType.CREATEDATE)
    @TableField(value = "createdate" , fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("createdate")
    private Timestamp createdate;
    /**
     * 更新时间
     */
    @DEField(preType = DEPredefinedFieldType.UPDATEDATE)
    @TableField(value = "updatedate")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("updatedate")
    private Timestamp updatedate;



    /**
     * 设置 [系统菜单项名称]
     */
    public void setAppmenuitemname(String appmenuitemname){
        this.appmenuitemname = appmenuitemname ;
        this.modify("sys_psappmenuitemname",appmenuitemname);
    }
    /**
     * 设置 [系统应用标识]
     */
    public void setPsappid(String psappid){
        this.psappid = psappid ;
        this.modify("psappid",psappid);
    }
    /**
     * 设置 [系统应用名称]
     */
    public void setPsappname(String psappname){
        this.psappname = psappname ;
        this.modify("psappname",psappname);
    }
    /**
     * 设置 [系统菜单标识]
     */
    public void setPsappmenuid(String psappmenuid){
        this.psappmenuid = psappmenuid ;
        this.modify("psappmenuid",psappmenuid);
    }
    /**
     * 设置 [系统菜单名称]
     */
    public void setPsappmenuname(String psappmenuname){
        this.psappmenuname = psappmenuname ;
        this.modify("psappmenuname",psappmenuname);
    }
    /**
     * 设置 [是否为叶子节点（用于菜单）]
     */
    public void setIsleaf(Integer isleaf){
        this.isleaf = isleaf ;
        this.modify("isleaf",isleaf);
    }
    /**
     * 设置 [实体标识]
     */
    public void setPssystemid(String pssystemid){
        this.pssystemid = pssystemid ;
        this.modify("pssystemid",pssystemid);
    }
    /**
     * 设置 [系统资源标识]
     */
    public void setPermissionid(String permissionid){
        this.permissionid = permissionid ;
        this.modify("permissionid",permissionid);
    }
    /**
     * 设置 [父项资源标识]
     */
    public void setParentpermissionid(String parentpermissionid){
        this.parentpermissionid = parentpermissionid ;
        this.modify("p_permissionid",parentpermissionid);
    }
}






