package com.testor.module.train.myManagement.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tongtech.tfw.backend.common.models.supers.SuperModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * @title TSysOrgClient
 * @description <TODO description class purpose>
 * @Author: qiao
 * @version:1.0.0
 * @create：4/17/23 6:14 PM
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_sys_org_client")
@ApiModel(value = "TSysOrgClient对象" , description = "")
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class TSysOrgClient extends SuperModel {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId("id")
    private String id;
    /**
     * 父级ID
     */
    @ApiModelProperty(value = "组织机构id")
    @TableField("org_id")
    private String orgId;
    /**
     * 人员id
     */
    @ApiModelProperty(value = "组织机构编码")
    @TableField("org_code")
    private String orgCode;
    /**
     * 关联任务id
     */
    @ApiModelProperty(value = "关联任务id")
    @TableField("client_id")
    private String clientId;

//    @TableField(exist = false)
//    private String remarks;
}
