package com.estate.expert.admin.domain.business.screenaccount;
|
|
import com.estate.expert.admin.domain.common.EntityRef;
|
import com.estate.expert.admin.domain.common.IDtoBase;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.Value;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Size;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* DTO for {@link ScreenAccount}
|
*/
|
@ApiModel(value = "大屏账号")
|
@Data
|
public class ScreenAccountDto {
|
|
@ApiModelProperty(value = "账号ID")
|
Integer id;
|
|
@ApiModelProperty("账号名称")
|
@NotBlank(message = "账号名称不能为空")
|
String name;
|
|
@ApiModelProperty("账号类型 1委托方 2项目")
|
@NotNull(message = "账号类型不能为空")
|
Integer type;
|
|
@ApiModelProperty("账号状态 1启用 2关闭")
|
@NotNull(message = "账号状态不能为空")
|
Integer state;
|
|
@ApiModelProperty("关联项目ID字符串")
|
String clientProjectIds;
|
|
@ApiModelProperty("登录账号")
|
@NotBlank(message = "登录账号不能为空")
|
String account;
|
|
@ApiModelProperty("登录账号")
|
@NotBlank(message = "登录账号不能为空")
|
String clientOrProject;
|
|
|
@ApiModelProperty("创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
LocalDateTime createTime;
|
|
@ApiModelProperty("更新时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
LocalDateTime updateTime;
|
}
|