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; @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; }