package com.example.demo.model;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 字典类型实体。
 */
@Schema(description = "字典类型实体")
public class DictType {

    @Schema(description = "类型ID")
    private Long id;

    @Schema(description = "类型名称")
    private String typeName;

    @Schema(description = "类型编码")
    private String typeCode;

    @Schema(description = "状态：0-停用，1-启用")
    private Integer status;

    public DictType() {
    }

    public DictType(Long id, String typeName, String typeCode, Integer status) {
        this.id = id;
        this.typeName = typeName;
        this.typeCode = typeCode;
        this.status = status;
    }

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getTypeName() { return typeName; }
    public void setTypeName(String typeName) { this.typeName = typeName; }
    public String getTypeCode() { return typeCode; }
    public void setTypeCode(String typeCode) { this.typeCode = typeCode; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
}
