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_keeper
 */

@EqualsAndHashCode(callSuper = false)
@Data
@ToString
public class TypeKeeper extends BaseEntity {

    private static final long serialVersionUID = -5333521595576336827L;

    /** 主键ID */
    private Long ID;

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

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

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    @ApiModelProperty(value = "用户名称")
    private String userName;

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

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

    public TypeKeeper() {}
}
