package com.ruoyi.cms.domain.policy;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 政策信息对象
 * @author kiro
 * @date 2026-01-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("政策信息")
public class PolicyInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("政策ID")
    private Long id;

    @ApiModelProperty("政策名称")
    private String zcmc;

    @ApiModelProperty("政策类型")
    private String zclx;

    @ApiModelProperty("政策级别")
    private String zcLevel;

    @ApiModelProperty("发文单位")
    private String sourceUnit;

    @ApiModelProperty("受理单位")
    private String acceptUnit;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("发文时间")
    private Date publishTime;

    @ApiModelProperty("政策内容")
    private String zcContent;

    @ApiModelProperty("补贴标准")
    private String subsidyStandard;

    @ApiModelProperty("经办渠道")
    private String handleChannel;

    @ApiModelProperty("申报条件")
    private String applyCondition;

    @ApiModelProperty("政策文件URL")
    private String fileUrl;

    @ApiModelProperty("政策文件名称")
    private String fileName;

    @ApiModelProperty("浏览数")
    private Integer viewNum;
}
