package com.chinaweal.aiccs.crgs.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
import com.chinaweal.youfool.framework.springboot.json.LocalDateTimeStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 行政处罚信息
 * </p>
 *
 * @author chinaweal
 * @since 2021-12-25
 */
@Data
@Accessors(chain = true)
@TableName("cppenalty_info_gs")
@ApiModel(value="CppenaltyInfoGs对象", description="行政处罚信息")
public class CppenaltyInfoGs {

    private static final long serialVersionUID = 1L;

    /**
     * 案件基本信息ID
     */
    @ApiModelProperty(value = "案件基本信息ID")
    @TableId(value = "case_id", type = IdType.ASSIGN_UUID)
    private String caseId;

    /**
     * 处罚决定书文号
     */
    @ApiModelProperty(value = "处罚决定书文号")
    @TableField("pendec_no")
    private String pendecNo;

    /**
     * 违法行为类型
     */
    @ApiModelProperty(value = "违法行为类型")
    @TableField("illegact_type")
    private String illegactType;

    /**
     * 处罚种类
     */
    @ApiModelProperty(value = "处罚种类")
    @TableField("pentype")
    private String pentype;

    /**
     * 处罚金额
     */
    @ApiModelProperty(value = "处罚金额")
    @TableField("penam")
    private BigDecimal penam;

    /**
     * 没收金额
     */
    @ApiModelProperty(value = "没收金额")
    @TableField("forfam")
    private BigDecimal forfam;

    /**
     * 处罚内容
     */
    @ApiModelProperty(value = "处罚内容")
    @TableField("pencontent")
    private String pencontent;

    /**
     * 作出行政处罚决定机关
     */
    @ApiModelProperty(value = "作出行政处罚决定机关")
    @TableField("penauth")
    private String penauth;

    /**
     * 作出行政处罚决定机关（中文名称）
     */
    @ApiModelProperty(value = "作出行政处罚决定机关（中文名称）")
    @TableField("penauth_cn")
    private String penauthCn;

    /**
     * 作出处罚决定书日期
     */
    @ApiModelProperty(value = "作出处罚决定书日期")
    @TableField("pendecissdate")
    @JsonSerialize(using = LocalDateTimeStringSerializer.class)
    private LocalDateTime pendecissdate;

    /**
     * 公示日期
     */
    @ApiModelProperty(value = "公示日期")
    @TableField("publicdate")
    @JsonSerialize(using = LocalDateTimeStringSerializer.class)
    private LocalDateTime publicdate;

    /**
     * 主体身份代码
     */
    @ApiModelProperty(value = "主体身份代码")
    @TableField("pripid")
    private String pripid;

    /**
     * 统一社会信用代码
     */
    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("uniscid")
    private String uniscid;

    /**
     * 企业注册号
     */
    @ApiModelProperty(value = "企业注册号")
    @TableField("regno")
    private String regno;

    /**
     * 案件名称
     */
    @ApiModelProperty(value = "案件名称")
    @TableField("case_name")
    private String caseName;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @TableField("pendecissdate_str")
    private String pendecissdateStr;

    @TableField("publicdate_str")
    private String publicdateStr;

    @TableField("offsiteid")
    private String offsiteid;

    @TableField("litiganttype")
    private String litiganttype;

    @TableField("illegpt")
    private String illegpt;

    @TableField("penbasis")
    private String penbasis;


}
