package com.starry.admin.modules.weichat.entity.article;

import com.starry.common.domain.BasePageEntity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author admin 顾客点赞动态查询状态修改
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PlayClerkArticleFollowCustomGreedStateEditStateVo extends BasePageEntity {

    @NotBlank(message = "不能为空")
    private String id;

    /**
     * 点赞状态（0：未点赞，1:已关注）
     */
    @NotBlank(message = "greedState不能为空")
    @Pattern(regexp = "[01]", message = "greedState值必须为0或者1")
    private String greedState;

}
