package com.bonus.material.ma.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 机具设备标签对象 ma_label_bind
 * 
 * @author xsheng
 * @date 2024-09-27
 */


@Data
@ToString
public class LabelBind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 机具ID */
    @Excel(name = "机具ID")
    @ApiModelProperty(value = "机具ID")
    private Long maId;

    /** 标签编号 */
    @Excel(name = "标签编号")
    @ApiModelProperty(value = "标签编号")
    private String labelCode;

    /** 类型ID */
    @Excel(name = "类型ID")
    @ApiModelProperty(value = "类型ID")
    private String typeId;

    /** 绑定时间 */
    @ApiModelProperty(value = "绑定时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindTime;

    /** 绑定人 */
    @Excel(name = "绑定人")
    @ApiModelProperty(value = "绑定人")
    private String binder;

    /** 0已解绑 1已绑定 */
    @Excel(name = "0已解绑 1已绑定")
    @ApiModelProperty(value = "0已解绑 1已绑定")
    private String status;

    /** 标签类型(数据字典) */
    @Excel(name = "标签类型(数据字典)")
    @ApiModelProperty(value = "标签类型(数据字典)")
    private Long labelType;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private String companyId;


}
