package com.farriver.bwf.data.transferobject.viewmodel.product; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; public class ProductBrandViewModel implements Serializable { private String id; private Integer status; private String remark; private Date createtime; private Date updatetime; private String code; private String name; private String website; private String logoimage; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date foundedyear; private String countryoforigin; private String description; public String getId() { return id; } public void setId(String id) { this.id = id == null ? null : id.trim(); } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); } public Date getCreatetime() { return createtime; } public void setCreatetime(Date createtime) { this.createtime = createtime; } public Date getUpdatetime() { return updatetime; } public void setUpdatetime(Date updatetime) { this.updatetime = updatetime; } public String getCode() { return code; } public void setCode(String code) { this.code = code == null ? null : code.trim(); } public String getName() { return name; } public void setName(String name) { this.name = name == null ? null : name.trim(); } public String getWebsite() { return website; } public void setWebsite(String website) { this.website = website == null ? null : website.trim(); } public String getLogoimage() { return logoimage; } public void setLogoimage(String logoimage) { this.logoimage = logoimage == null ? null : logoimage.trim(); } public Date getFoundedyear() { return foundedyear; } public void setFoundedyear(Date foundedyear) { this.foundedyear = foundedyear; } public String getCountryoforigin() { return countryoforigin; } public void setCountryoforigin(String countryoforigin) { this.countryoforigin = countryoforigin == null ? null : countryoforigin.trim(); } public String getDescription() { return description; } public void setDescription(String description) { this.description = description == null ? null : description.trim(); } }