package com.bonus.material.basic.domain;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 资产属性表(BmAssetAttributes)实体类
 *
 * @author makejava
 * @since 2024-10-15 10:39:00
 */
@Data
public class BmAssetAttributes extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -16238021609223792L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 资产类型名称
     */
    @Excel(name = "资产类型名称")
    @ApiModelProperty(value = "资产类型名称")
    @NotBlank(message = "资产类型名称不能为空")
    @Size(max=50, message = "资产类型名称长度不能超过50")
    private String assetName;

    /**
     * 资产编码
     */
    @Excel(name = "资产编码")
    @ApiModelProperty(value = "资产编码")
    @NotBlank(message = "资产编码不能为空")
    @Size(max=50, message = "资产编码名称长度不能超过50")
    private String assetCode;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 是否分页
     */
    private Integer isAll;

}

