CouponEntitySendViewExport.java 2.43 KB
/**
 * @(#)CouponEntity.java 
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.web.home.domain;


import com.alibaba.fastjson.annotation.JSONField;
import com.xiniunet.framework.base.BaseDomain;
import com.xiniunet.framework.util.excel.annotation.Name;
import com.xiniunet.framework.util.excel.annotation.Type;
import com.xiniunet.framework.util.excel.enumeration.DataType;

import java.util.Date;

/**
 * Created by 金洋 on 2015-09-11 09:37:00.
 * @author 金洋
 */
public class CouponEntitySendViewExport extends BaseDomain {


    /**
     * 主键
     */
    @Name("优惠券号")
    private  Long   id;

    /**
     * 发放时间
     */
    @Name("发放时间")
    @Type(DataType.DATETIME)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    /**
     * 是否使用
     */
    @Name("是否已使用")
    private String isUsed;

    /**
     * 订单ID
     */
    private  Long   orderId;

    /**
     * 关联订单号
     */
    @Name("使用订单")
    private  String   orderNumber;

    /**
     * 订单时间
     */
    @Name("使用时间")
    @Type(DataType.DATETIME)
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private  Date   orderTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed;
    }
}