Commit 3dbdf43d authored by 赵啸非's avatar 赵啸非

添加校验

parent 35d175aa
package com.mortals.xhx.common.pdu.skin;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
/**
* 系统基础皮肤Pdu对象
*
* @author zxfei
* @date 2023-04-03
*/
* 系统基础皮肤Pdu对象
*
* @author zxfei
* @date 2024-09-23
*/
@Data
public class SkinBasePdu extends BaseEntityLong {
private static final long serialVersionUID = 1L;
/**
* 所属种类,来源种类
*/
* 所属种类,来源种类
*/
private Long categoryId;
/**
* 产品id
*/
* 产品id
*/
private Long productId;
/**
* 产品名称
*/
* 产品名称
*/
private String productName;
/**
* css模板合成后文件地址
*/
* css模板合成后文件地址
*/
private String cssFilePath;
/**
* 排序编号
*/
* 排序编号
*/
private Integer sortNum;
/**
* 产品皮肤名称,唯一且不为空
*/
* 产品皮肤名称,唯一且不为空
*/
private String name;
/**
* 分辨率 (1.1920*1080,2.1080*1920,3.1280*1280)
*/
* 分辨率 (1.1920*1080,2.1080*1920,3.1280*1280)
*/
private String imageResolution;
/**
* 预览图片
*/
* 预览图片
*/
private String previewImagePath;
/**
* 产品编码
*/
private String productCode;
public void initAttrValue(){
this.categoryId = null;
this.productId = null;
this.productName = "";
this.cssFilePath = "";
this.sortNum = null;
private String imageResolutionValue;
private String serverName;
this.name = "";
private Integer serverPort;
this.imageResolution = "1";
private String localZipPath;
this.previewImagePath = "";
}
private String prependPath;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment