xuefei
2020-12-13 f95e2a385d4cbd07501b512079d7da6aae253a41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package cn.cetc54.platform.zhyl.entity;
 
 
import cn.cetc54.platform.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
 
/**
 * @author 
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "t_yl_subsidy")
@TableName("t_yl_subsidy")
@ApiModel(value = "补贴")
public class Subsidy extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    @Column( length = 24 ,name = "area_id")
    @ApiModelProperty(value = "区域id")
    private String areaId;
 
    @Column( length = 1 ,name = "type")
    @ApiModelProperty(value = "补助类型")
    private int type;
 
    @Column( length = 10 ,name = "money")
    @ApiModelProperty(value = "补助金额")
    private Double money;
}