package com.cyksj.model.entity;


import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class CustomerConsultationRecord extends BaseEntity{
	private Long userId;

	@NonNull
	private Integer type;

	@NonNull
	private Long goodsId;

	@NonNull
	private String categoryName;

	@NotEmpty
	@Length(max = 1000)
	private String content;

	private String imgs;
}
