95 lines
1.7 KiB
Java
95 lines
1.7 KiB
Java
package com.jsh.util;
|
|
|
|
/**
|
|
* 定义商品信息常量
|
|
* @author jishenghua
|
|
*/
|
|
public interface MaterialConstants
|
|
{
|
|
/**
|
|
* 公共常量
|
|
* @author ji sheng hua
|
|
*/
|
|
public class Common
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* 常量--导入导出excel表格业务相关
|
|
* @author jishenghua
|
|
*/
|
|
public class BusinessForExcel
|
|
{
|
|
/**
|
|
* 名称
|
|
*/
|
|
public static final int EXCEL_NAME = 0;
|
|
|
|
/**
|
|
* 类型
|
|
*/
|
|
public static final int EXCEL_CATEGORY = 1;
|
|
|
|
/**
|
|
* 颜色
|
|
*/
|
|
public static final int EXCEL_COLOR = 2;
|
|
|
|
/**
|
|
* 型号
|
|
*/
|
|
public static final int EXCEL_MODEL = 3;
|
|
|
|
/**
|
|
* 规格
|
|
*/
|
|
public static final int EXCEL_STANDARD = 4;
|
|
|
|
/**
|
|
* 安全存量
|
|
*/
|
|
public static final int EXCEL_SAFETY_STOCK = 5;
|
|
|
|
/**
|
|
* 单位
|
|
*/
|
|
public static final int EXCEL_UNIT = 6;
|
|
|
|
/**
|
|
* 零售价
|
|
*/
|
|
public static final int EXCEL_RETAILPRICE = 7;
|
|
|
|
/**
|
|
* 最低售价
|
|
*/
|
|
public static final int EXCEL_LOWPRICE = 8;
|
|
|
|
/**
|
|
* 预设售价一
|
|
*/
|
|
public static final int EXCEL_PRESETPRICEONE = 9;
|
|
|
|
/**
|
|
* 预设售价二
|
|
*/
|
|
public static final int EXCEL_PRESETPRICETWO = 10;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
public static final int EXCEL_REMARK = 11;
|
|
|
|
/**
|
|
* 表头
|
|
*/
|
|
public static final int EXCEL_TABLE_HEAD = 0;
|
|
|
|
/**
|
|
* action返回excel结果
|
|
*/
|
|
public static final String EXCEL = "excel";
|
|
}
|
|
}
|