package org.dromara.machinery.domain.bo;

import org.dromara.machinery.domain.BusMachinery;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 机械业务对象 bus_machinery
 *
 * @author lcj
 * @date 2025-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusMachinery.class, reverseConvertGenerate = false)
public class BusMachineryBo extends BaseEntity {

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

    /**
     * 机械名称
     */
    private String machineryName;

    /**
     * 机械型号
     */
    private String machineryNumber;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 数量
     */
    private Long number;

    /**
     * 负责人
     */
    private String principal;

    /**
     * 备注
     */
    private String remark;


}
