package com.cyksj.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/*
 *项目名: netflix
 *文件名: ReplaceTripsAccountReq
 *创建者: JavaZou
 *创建时间:2023/5/8 13:35
 */
@Getter
@Setter
public class ReplaceTripsAccountReq {

	private Long adminId;

	@NotNull(message = "请选择对应车队")
	private Long groupsId;

	@NotEmpty(message = "替换账号不能为空")
	private String account;

	@NotEmpty(message = "替换账号密码不能为空")
	private String password;

	private String remark;

	@NotNull(message = "账号起始时间不为空")
	private Date startTime;

	/**
	 * 辅助邮箱
	 */
	private String email;

	/**
	 * 关联邮箱
	 */
	private String relateEmail;

	@NotNull(message = "账号过期时间不为空")
	private Date expiryTime;
}
