package com.ruoyi.web.work.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lsw
 * @date 2024-07-10
 */
@Data
@TableName(value = "tb_introduction")
@Accessors(chain = true)
public class Introduction {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "用户协议")
    private String agreement;

    @ApiModelProperty(value = "隐私政策")
    private String privacy;

    @ApiModelProperty(value = "医院介绍")
    private String brief;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "医院地址")
    private String address;

    @ApiModelProperty(value = "医院邮箱")
    private String email;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
