package com.ruoyi.system.domain;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.data.annotation.Id;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* @author hz
|
* @since 2023-09-07 17:10:09
|
*/
|
@Data
|
public class SysOperateType implements Serializable {
|
|
@Id
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
private Long parentId;
|
/** 祖级列表 */
|
private String ancestors;
|
|
private String code;
|
|
private String name;
|
|
private Integer type;
|
|
/** 删除标志(0代表存在 2代表删除) */
|
private Byte delFlag;
|
|
/** 创建者 */
|
@TableField(fill = FieldFill.INSERT)
|
private String createBy;
|
|
/** 创建时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
/** 更新者 */
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private String updateBy;
|
|
/** 更新时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
}
|