package org.dromara.main.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.main.domain.MainBackCategory;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MainBackCategory.class, reverseConvertGenerate = false)
public class MainBackCategoryBo extends BaseEntity {

    private Long id;

    @NotBlank(message = "分类名称不能为空")
    private String name;

    private BigDecimal price;

    private String status;

    private String remark;
}
