package com.yeejoin.amos.boot.module.ymt.flc.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 注册单位工商信息表
 *
 * @author system_generator
 * @date 2022-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_flc_reg_unit_ic")
public class RegUnitIc extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 单位名称
     */
    @TableField("unit_name")
    private String unitName;

    /**
     * 证件code
     */
    @TableField("unit_code")
    private String unitCode;

    /**
     * 所属行业
     */
    @TableField("industry_name")
    private String industryName;

    /**
     * 登记机关名称
     */
    @TableField("registered_organ")
    private String registeredOrgan;

    /**
     * 登记机关code
     */
    @TableField("registered_organ_code")
    private String registeredOrganCode;

    /**
     * 核准时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("approved_date")
    private Date approvedDate;

    /**
     * 经营状态名称：在业、吊销、注销、迁入、迁出、停业、清算
     */
    @TableField("business_state")
    private String businessState;


    /**
     * 经营状态code
     */
    @TableField("business_state_code")
    private String businessStateCode;

}
