package com.ruoyi.ibs.draw.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 吴凯程
 * @Date 2024/12/19
 **/
@Data
@TableName("draw_layer")
public class DrawLayer implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "图层主键", name = "id")
    @TableId(type = IdType.AUTO)
    private Long layerId;
    /**
     * 图层类型
     */
    @ApiModelProperty(value = "图层类型", notes = "")
    private String layerName;
    /**
     * 图层颜色
     */
    @ApiModelProperty(value = "图层颜色", notes = "")
    private String layerColor;
    /**
     * 归属机构号
     */
    @ApiModelProperty(value = "归属机构号", notes = "")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    /**
     * 更新者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    /**
     * 删除标识
     */
    @TableLogic
    private Boolean deleteFlag;
}
