package com.zd.airbottle.domain;

import com.zd.common.core.annotation.Excel;
import com.zd.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * RFID标签管理对象 qp_rfid_tag
 */
@ApiModel("RFID标签管理")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class QpRfidTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id,数据唯一标识 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 标签内码 */
    @Excel(name = "标签内码")
    @Length(message = "标签内码长度不能超过50")
    @ApiModelProperty(value = "标签内码")
    private String tagCode;
    /** 是否绑定 1绑定  0未绑定 */
    @Excel(name = "是否绑定 1绑定  0未绑定")
    @ApiModelProperty(value = "是否绑定 1绑定  0未绑定")
    private Integer isBind;

    private String startTime;
    private String endTime;
}
