package org.dromara.machinery.domain.bo;

import org.dromara.machinery.domain.BusMachineryDetail;
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_detail
 *
 * @author lcj
 * @date 2025-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusMachineryDetail.class, reverseConvertGenerate = false)
public class BusMachineryDetailBo extends BaseEntity {

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

    /**
     * 检验证编号
     */
    private String checkoutNumber;

    /**
     * 检验单位
     */
    private String checkoutUnit;

    /**
     * 检定日期/有效期
     */
    private String checkoutDate;

    /**
     * 施工类型状态（0正常 1停用）
     */
    private Long status;

    /**
     * 0入场 1出场
     */
    private Long type;

    /**
     * 入场时间
     */
    private Date entryTime;

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

    /**
     * 图片(英文逗号分隔)
     */
    private String picture;

    /**
     * 机械主键id
     */
    private Long machineryId;


}
