package org.dromara.system.domain.bo;

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

/**
 * 定制班车-订单业务对象 tbl_dzbc_order
 *
 * @author Lion Li
 * @date 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblDzbcOrder.class, reverseConvertGenerate = false)
public class TblDzbcOrderBo extends BaseEntity {

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

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

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

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

    /**
     * 状态
0-待支付
1-已支付
2-取消待退款
3-已转商户
4-已退款
5-已关闭

     */
    //@NotBlank(message = "状态", groups = { AddGroup.class, EditGroup.class })
    //@NotBlank(message = "状态", groups = { AddGroup.class, EditGroup.class })
    private String status;

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

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

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

    /**
     * 扩展1
     */
    //@NotBlank(message = "扩展1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext1;

    /**
     * 扩展2
     */
    //@NotBlank(message = "扩展2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext2;

    private Integer num;
    private Integer price;
    private Integer totalPrice;


}
