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

import org.dromara.payment.sys.domain.SysSydSignContent;
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;

/**
 * 服务商协议内容业务对象 sys_syd_sign_content
 *
 * @author LionLi
 * @date 2024-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysSydSignContent.class, reverseConvertGenerate = false)
public class SysSydSignContentBo extends BaseEntity {

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

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

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

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


}
