package org.dromara.system.domain.bo;

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

/**
 * 【请填写功能名称】业务对象 site_bag
 *
 * @author Lion Li
 * @date 2024-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SiteBag.class, reverseConvertGenerate = false)
public class SiteBagBo extends BaseEntity {

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

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

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

    /**
     * 出库状态,待取件0，出库1，异常2，异常已处理3
     */
//    @NotBlank(message = "出库状态,待取件0，出库1，异常2，异常已处理3不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bagStatus;

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

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

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

    /**
     * 入库时间，停用
     */
//    @NotNull(message = "入库时间，停用不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date bagInTime;

    /**
     * 异常原因，如退件、损坏等
     */
//    @NotBlank(message = "异常原因，如退件、损坏等不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bagReason;

    /**
     * 所在站点
     */
//    @NotBlank(message = "所在站点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bagSite;

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

    /**
     * 创建时间，入库时间
     */
//    @NotNull(message = "创建时间，入库时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date createdAt; 


}
