package org.dromara.system.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;
import org.dromara.system.domain.TblDzbcSitePrice;

@Data
@AutoMapper(target = TblDzbcSitePrice.class, reverseConvertGenerate = false)
public class TblDzbcSitePriceBo extends TblDzbcSitePrice {

    @NotNull(message = "路线ID不能为空")
    private Long pathId;

    @NotNull(message = "出发站点ID不能为空")
    private Long fromSiteId;

    @NotNull(message = "到达站点ID不能为空")
    private Long toSiteId;

    @NotNull(message = "价格不能为空")
    private Integer price;
}
