package cn.reghao.oss.web.app.model.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 应用部署配置
 *
 * @author reghao
 * @date 2020-05-13 16:59:20
 */
@NoArgsConstructor
@Data
public class DeployConfigDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "appId 不能为空白字符串")
    private String appId;
    @NotBlank(message = "machineId 不能为空白字符串")
    private String machineId;
    private String machineIpv4;
    private String packType;
    private String startScript;
    private String unpackScript;
    private String startHome;
}
