All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lframework.starter.mybatis.entity.DefaultSysDept Maven / Gradle / Ivy

There is a newer version: 3.0.6
Show newest version
package com.lframework.starter.mybatis.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lframework.starter.web.dto.BaseDto;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 

* 部门 *

* * @author zmj * @since 2021-06-26 */ @Data @EqualsAndHashCode(callSuper = true) @TableName("sys_dept") public class DefaultSysDept extends BaseEntity implements BaseDto { private static final long serialVersionUID = 1L; public static final String CACHE_NAME = "DefaultSysDept"; /** * ID */ private String id; /** * 编号 */ private String code; /** * 名称 */ private String name; /** * 简称 */ private String shortName; /** * 父级ID */ @TableField private String parentId; /** * 状态 */ private Boolean available; /** * 备注 */ private String description; /** * 创建人ID 新增时赋值 */ @TableField(fill = FieldFill.INSERT) private String createById; /** * 创建人 新增时赋值 */ @TableField(fill = FieldFill.INSERT) private String createBy; /** * 创建时间 新增时赋值 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 修改人 新增和修改时赋值 */ @TableField(fill = FieldFill.INSERT_UPDATE) private String updateBy; /** * 修改人ID 新增和修改时赋值 */ @TableField(fill = FieldFill.INSERT_UPDATE) private String updateById; /** * 修改时间 新增和修改时赋值 */ @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy