package com.zcloud.basic.info.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2025-10-30 09:53:53
 */
@Data
@TableName("corp_form")
@EqualsAndHashCode(callSuper = true)
public class CorpFormDO extends BaseDO {

    //信息主键
    @ApiModelProperty(value = "信息主键")
    private String corpFormId;
    //外键id
    @ApiModelProperty(value = "外键id")
    private Long infoId;
    //类型,参考枚举corpformtype
    @ApiModelProperty(value = "类型,参考枚举corpformtype")
    private Integer type;
    //类型名称
    @ApiModelProperty(value = "类型名称")
    private String typeName;
    //数据字典编码
    @ApiModelProperty(value = "数据字典编码")
    private String itemCode;
    //数据字典名称
    @ApiModelProperty(value = "数据字典名称")
    private String itemName;
    //排序
    @ApiModelProperty(value = "排序")
    private Integer itemOrder;

    @TableField(exist = false)
    private String corpName;

}

