package com.ruoyi.clock.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理商信息业务对象 tb_agent
 *
 * @author pengc
 * @date 2026-03-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("代理商信息业务对象")
public class AgentBo extends BaseEntity {

    /**
     * 代理商id
     */
    @ApiModelProperty(value = "代理商id", required = true)
    @NotNull(message = "代理商id不能为空", groups = { EditGroup.class })
    private Long agentId;

    /**
     * 代理商名称
     */
    @ApiModelProperty(value = "代理商名称", required = true)
    @NotBlank(message = "代理商名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agentName;

    /**
     * 服务区域
     */
    @ApiModelProperty(value = "服务区域", required = true)
    //@NotBlank(message = "服务区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceArea;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址", required = true)
    //@NotBlank(message = "地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人", required = true)
    @NotBlank(message = "联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contact;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", required = true)
    @NotBlank(message = "联系电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phonenumber;


}
