package com.ruoyi.tc.regular.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 单位接口对接
 * @author du
 * @since 2024/12/3 15:12
 */
@Data
public class UnitArchives {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("单位名称")
    private String dwmc;

    @ApiModelProperty("单位简称")
    private String dwjc;

    @ApiModelProperty("所属区域")
    private String ssqy;

    @ApiModelProperty("单位详细地址")
    private String dwxxdz;

    @ApiModelProperty("所属行业")
    private String sshy;

    @ApiModelProperty("单位类型")
    private String dwlx;

    @ApiModelProperty("单位标签")
    private String dwbq;

    @ApiModelProperty("所属监管单位")
    private String ssjgdw;

    @ApiModelProperty("单位角色")
    private String dwjs;

    @ApiModelProperty("单位直属性质")
    private String dwzsxz;

    @ApiModelProperty("统一社会信用代码")
    private String tyshxydm;

    @ApiModelProperty("是否关基单位")
    private String sfgjdw;

    @ApiModelProperty("日常运营负责部门")
    private String rcyyfzbm;

    @ApiModelProperty("官网网址")
    private String wz;

    @ApiModelProperty("地图经度")
    private String jd;

    @ApiModelProperty("地图纬度")
    private String wd;

    @ApiModelProperty("上级单位")
    private String sjdw;

    @ApiModelProperty("更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
}
