zhanghua
2024-12-20 1f45c25ea725445d7e78e8d5da6e72150f35f2eb
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.dahua.netsdk.module.entity;
 
import com.dahua.netsdk.lib.structure.NET_TIME;
import com.dahua.netsdk.lib.structure.NET_TIME_EX1;
 
import java.io.Serializable;
import java.sql.Time;
 
/**
 * @author 47081
 * @version 1.0
 * @description 广告禁播时间信息
 * @date 2020/9/15
 */
public class ForbiddenAdvertPlayInfoConfig implements Serializable {
    /**
     * 时间段使能
     */
    private boolean bEnable;
    /**
     * 广告禁用开始时间
     */
    public NET_TIME_EX1 stuBeginTime;
    /**
     * 广告结束开始时间
     */
    public NET_TIME_EX1 stuEndTime;
 
    public boolean isbEnable() {
        return bEnable;
    }
 
    public void setbEnable(boolean bEnable) {
        this.bEnable = bEnable;
    }
 
    public NET_TIME_EX1 getStuBeginTime() {
        return stuBeginTime;
    }
 
    public void setStuBeginTime(NET_TIME_EX1 stuBeginTime) {
        this.stuBeginTime = stuBeginTime;
    }
 
    public NET_TIME_EX1 getStuEndTime() {
        return stuEndTime;
    }
 
    public void setStuEndTime(NET_TIME_EX1 stuEndTime) {
        this.stuEndTime = stuEndTime;
    }
 
    public ForbiddenAdvertPlayInfoConfig() {
    }
 
    public ForbiddenAdvertPlayInfoConfig(boolean bEnable, int startHour, int startMinute, int startSecond, int endHour, int endMinute, int endSecond) {
        this.bEnable = bEnable;
        this.stuBeginTime = new NET_TIME_EX1();
        this.stuEndTime = new NET_TIME_EX1();
        this.stuBeginTime.dwHour = startHour;
        this.stuBeginTime.dwMinute = startMinute;
        this.stuBeginTime.dwSecond = startSecond;
        this.stuEndTime.dwHour = endHour;
        this.stuEndTime.dwMinute = endMinute;
        this.stuEndTime.dwSecond = endSecond;
    }
 
    public ForbiddenAdvertPlayInfoConfig(boolean bEnable, NET_TIME_EX1 stuBeginTime, NET_TIME_EX1 stuEndTime) {
        this.bEnable = bEnable;
        this.stuBeginTime = stuBeginTime;
        this.stuEndTime = stuEndTime;
    }
 
}