package org.dromara.system.domain.bo;

import org.dromara.system.domain.TblBag;
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;

/**
 * 【请填写功能名称】业务对象 tbl_bag
 *
 * @author Lion Li
 * @date 2025-09-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblBag.class, reverseConvertGenerate = false)
public class TblBagBo extends BaseEntity {

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

    /**
     * 快递柜编号
     */
//    @NotNull(message = "快递柜编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceId;

    /**
     * 寄取  1：下行派件入库2：下行派件出库3：上行揽件入库4：上行派件出库
     */
//    @NotNull(message = "寄取  1：下行派件入库 2：下行派件出库3：上行揽件入库4：上行派件出库不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long scType;

    /**
     * 寄取时间
     */
//    @NotNull(message = "寄取时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date scTime;

    /**
     * 快递公司
     */
//    @NotBlank(message = "快递公司不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cpCode;

    /**
     * 运单号
     */
//    @NotBlank(message = "运单号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String waybillNo;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
