package com.sckw.system.model.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 字典类型实体类 (MyBatis-Flex)
 * @author system
 * @date 2024
 */
@Data
public class SysDictTypeResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 字典类型名称
     */
    @Schema(description = "字典类型名称")
    private String name;

    /**
     * 类型
     */
    @Schema(description = "类型")
    private String type;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 状态:0正常/1锁定
     */
    @Schema(description = "状态:0正常/1锁定")
    private Integer status;


    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 删除标识(0正常/-1删除)
     */
    @Schema(description = "删除标识(0正常/-1删除)")
    private Integer delFlag;
}
