package org.dromara.payment.thirdPlatform.xinyujian.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.payment.thirdPlatform.xinyujian.domain.ThirdItemTaskTypes;

/**
 * 三方平台企业的项目任务类型业务对象 third_item_task_types
 *
 * @author LionLi
 * @date 2025-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ThirdItemTaskTypes.class, reverseConvertGenerate = false)
public class ThirdItemTaskTypesBo extends BaseEntity {

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

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

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

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

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

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

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

    /**
     * 发票一级类目名称
     */
    @NotBlank(message = "发票一级类目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoiceOneName;

    /**
     * 发票二级类目名称
     */
    @NotBlank(message = "发票二级类目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoiceTwoName;

    /**
     * 服务类型
     */
    @NotBlank(message = "服务类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceType;

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

    /**
     * 是否可用 1是，0否
     */
    @NotNull(message = "是否可用 1是，0否不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isUse;


}
