package com.maintain.business.domain.bo;

import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.maintain.common.core.domain.BaseEntity;

/**
 * 客户信息-车型-胎位业务对象 erp_vehicle_model_tyre
 *
 * @author liushuai
 * @date 2025-03-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpTyrePositionBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 车型ID
     */
    private Long vehicleModelId;

    /**
     * 胎位编号
     */
    private String code;

    /**
     * 胎位名称
     */
    @NotBlank(message = "胎位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;


}
