package com.red.circle.other.inner.model.cmd.sys;

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * app版本更新描述.
 * </p>
 *
 * @author pengshigang
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysVersionUpdateDescriptionCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键.
   */
  private Long id;

  /**
   * 系统版本管理ID.
   */
  @NotNull(message = "版本ID不能为空")
  private Long versionId;

  /**
   * 更新描述.
   */
  @NotBlank(message = "描述不能为空")
  private String updateDescribe;

  /**
   * 朝拜更新描述.
   */
  private String updateWorshipDescribe;


  /**
   * 语言.
   */
  @NotBlank(message = "语言不能为空")
  private String language;

}
