package com.izouma.nineth.domain;

import com.izouma.nineth.enums.OnOffEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@ApiModel("元宇宙开关")
public class OnOff extends BaseEntity {

    @ApiModelProperty("状态：开/关")
    @Enumerated(EnumType.STRING)
    private OnOffEnum status;

    @ApiModelProperty("备注")
    private String remark;
}
