package com.bonus.material.ma.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 维修班机具配置对象 ma_type_repair
 *
 * @author syruan
 */

@EqualsAndHashCode(callSuper = false)
@Data
@ToString
public class TypeRepair extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 类型ID */
    private Long typeId;

    /**
     * 类型名称
     */
    private String typeName;

    /** 用户 */
    @Excel(name = "用户")
    @ApiModelProperty(value = "用户")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "维修人")
    private String repairer;

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

    public TypeRepair() {}

    public TypeRepair(Long typeId, Long userId) {
        this.typeId = typeId;
        this.userId = userId;
    }

}
