package com.railway.business.app.domain;

import com.railway.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * @author ZhaoMn
 */
@Data
@ApiModel("apk问题反馈")
@EqualsAndHashCode(callSuper = true)
public class AppFeedback extends BaseEntity {

  @ApiModelProperty(value = "主键", hidden = true)
  private Long id;

  @ApiModelProperty(value = "用户id")
  private Long userId;

  @ApiModelProperty(value = "意见建议")
  private String content;

  @ApiModelProperty(value = "del_flag")
  @Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
  private String delFlag;

}