package com.zcloud.personnel.positioning.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TerminalAppCompanyCO extends ClientObject {
    @ApiModelProperty(value = "公司ID", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "公司名称", name = "corpinfoName")
    private String corpinfoName;

    @ApiModelProperty(value = "组织编码", name = "orgCode")
    private String orgCode;

    @ApiModelProperty(value = "组织名称", name = "orgName")
    private String orgName;

    @ApiModelProperty(value = "联系人姓名", name = "contactName")
    private String contactName;

    @ApiModelProperty(value = "APP账号数量", name = "appCount")
    private Integer appCount;

    @ApiModelProperty(value = "已启用APP账号数量", name = "enabledCount")
    private Integer enabledCount;

    @ApiModelProperty(value = "最后同步时间", name = "lastSyncTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastSyncTime;
}
