package com.tcm.training.admin.live.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Getter;
|
import lombok.NoArgsConstructor;
|
import lombok.Setter;
|
|
import java.time.LocalDateTime;
|
|
/** 诊所及其归属代理、联系和结算信息。 */
|
@TableName("tcm_clinic")
|
@Getter
|
@Setter
|
@NoArgsConstructor
|
public class Clinic {
|
|
/** 主键。 */
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/** 诊所名称。 */
|
private String name;
|
|
/** 归属代理ID。 */
|
@TableField("agent_id")
|
private Long agentId;
|
|
@TableField("contact_name")
|
private String contactName;
|
|
@TableField("contact_phone")
|
private String contactPhone;
|
|
@TableField("province_code")
|
private String provinceCode;
|
|
@TableField("province_name")
|
private String provinceName;
|
|
@TableField("city_code")
|
private String cityCode;
|
|
@TableField("city_name")
|
private String cityName;
|
|
@TableField("district_code")
|
private String districtCode;
|
|
@TableField("district_name")
|
private String districtName;
|
|
/** 详细地址。 */
|
private String address;
|
|
/** 营业执照文件地址。 */
|
@TableField("business_license_url")
|
private String businessLicenseUrl;
|
|
@TableField("invite_code")
|
private String inviteCode;
|
|
/** 状态:1启用 0禁用 */
|
private Integer status;
|
|
@TableField("bank_name")
|
private String bankName;
|
|
@TableField("account_number")
|
private String accountNumber;
|
|
@TableField("account_holder")
|
private String accountHolder;
|
|
@TableField("branch_name")
|
private String branchName;
|
|
@TableLogic
|
private Integer deleted;
|
|
@TableField(value = "created_by", fill = FieldFill.INSERT)
|
private String createdBy;
|
|
@TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
|
private String updatedBy;
|
|
@TableField("created_at")
|
private LocalDateTime createdAt;
|
|
@TableField("updated_at")
|
private LocalDateTime updatedAt;
|
}
|
/** 联系人姓名。 */
|
/** 联系电话。 */
|
/** 省级行政区编码。 */
|
/** 省级行政区名称。 */
|
/** 市级行政区编码。 */
|
/** 市级行政区名称。 */
|
/** 区县行政区编码。 */
|
/** 区县行政区名称。 */
|
/** 邀请码。 */
|
/** 开户银行。 */
|
/** 银行账号。 */
|
/** 银行账户户名。 */
|
/** 开户支行。 */
|
/** 逻辑删除标识:0未删除,1已删除。 */
|
/** 创建人。 */
|
/** 最后更新人。 */
|
/** 创建时间。 */
|
/** 最后更新时间。 */
|