package com.amms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 博物馆简介对象 museum_intro
 */
public class MuseumIntro {

    /** 博物馆名称（主键） */
    private String museumName;

    /** 内容 */
    private String content;

    /** Logo地址 */
    private String logoUrl;

    /** 地址 */
    private String address;

    /** 联系电话 */
    private String phone;

    /** 营业开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date openTime;

    /** 营业结束时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date closeTime;

    /** 更新者id */
    private Long updater;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public void setMuseumName(String museumName) {
        this.museumName = museumName;
    }

    public String getMuseumName() {
        return museumName;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }


    public void setUpdater(Long updater) {
        this.updater = updater;
    }

    public Long getUpdater() {
        return updater;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "MuseumIntro{" +
            "museumName=" + museumName +
            ", content=" + content +
            ", logoUrl=" + logoUrl +
            ", address=" + address +
            ", phone=" + phone +
            ", openTime=" + openTime +
            ", closeTime=" + closeTime +
            ", updateTime=" + updateTime +
            ", updater=" + updater +
        '}';
    }
}
