package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-账面库存
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1211")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api1211 implements Serializable {
|
|
public static String SORT_PROP = "ywrq";
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -1776570569716204990L;
|
|
@JSONField(serialize = false)
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@Column(name = "id")
|
private Integer id;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "粮食品种代码",required=true)
|
@Column(name = "lspzdm", length = 7)
|
private String lspzdm;
|
|
@PropertyDef(label = "年度" ,required=true)
|
@Column(name = "nd", length = 4)
|
private String nd;
|
|
@PropertyDef(label = "月份" ,required=true)
|
@Column(name = "yf", length = 2)
|
private String yf;
|
|
@PropertyDef(label = "期初数量(公斤)",required=true )
|
@Column(name = "qcsl", precision = 20, scale = 6)
|
private double qcsl;
|
|
@PropertyDef(label = "本期收入数量(公斤)" )
|
@Column(name = "bqsrsl", precision = 20, scale = 6)
|
private double bqsrsl;
|
|
@PropertyDef(label = "本期支出数量(公斤)" )
|
@Column(name = "bqzcsl", precision = 20, scale = 6)
|
private double bqzcsl;
|
|
@PropertyDef(label = "期末数量(公斤)" )
|
@Column(name = "qmye", precision = 20, scale = 6)
|
private double qmye;
|
|
@PropertyDef(label = "月结标志" )
|
@Column(name = "yjbz")
|
private Integer yjbz;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "业务日期" )
|
@Column(name = "ywrq")
|
private Date ywrq;
|
|
@PropertyDef(label = "操作标志" )
|
@Column(name = "czbz", length = 1)
|
private String czbz;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "更新时间" )
|
@Column(name = "zhgxsj")
|
private Date zhgxsj;
|
|
|
}
|