package org.dromara.payment.taxRecords.domain.bo;

import org.dromara.payment.taxRecords.domain.MerTaxRecordsDetail;
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.*;

/**
 * 完税证明业务对象 mer_tax_records_detail
 *
 * @author LionLi
 * @date 2024-05-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MerTaxRecordsDetail.class, reverseConvertGenerate = false)
public class MerTaxRecordsDetailBo extends BaseEntity {

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

    /**
     * 完税证明记录id
     */
    @NotNull(message = "完税证明记录id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long trId;

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

    /**
     * 结算中心编号
     */
    @NotBlank(message = "结算中心编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sydNo;

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

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

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

    /**
     * 代理商编号
     */
    @NotBlank(message = "代理商编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelNo;

    /**
     * 代理商上下级关系编码
     */
    @NotBlank(message = "代理商上下级关系编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelCode;

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

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

    /**
     * 待完税月份
     */
    @NotBlank(message = "待完税月份不能为空", groups = { AddGroup.class, EditGroup.class })
    private String month;

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

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

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

    /**
     * 银行类型（字典）
     */
    @NotBlank(message = "银行类型（字典）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bankType;

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

    /**
     * 收入金额（分）
     */
    @NotNull(message = "收入金额（分）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long amount;


}
